diff --git a/TMessagesProj/src/main/java/org/telegram/ui/Cells/AboutLinkCell.java b/TMessagesProj/src/main/java/org/telegram/ui/Cells/AboutLinkCell.java index a4e63300c3..8507d911ea 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/Cells/AboutLinkCell.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/Cells/AboutLinkCell.java @@ -191,9 +191,6 @@ protected void onDraw(Canvas canvas) { backgroundPaint.setColor(Theme.getColor(Theme.key_windowBackgroundWhite, resourcesProvider)); setWillNotDraw(false); - if (NaConfig.INSTANCE.getShowFullAbout().Bool()) { - onClick(); - } } protected int processColor(int color) { @@ -717,6 +714,10 @@ private void checkTextLayout(int maxWidth, boolean force) { textLayout = makeTextLayout(stringBuilder, maxWidth); shouldExpand = textLayout.getLineCount() >= 4; // && valueTextView.getVisibility() != View.VISIBLE; + if (NaConfig.INSTANCE.getShowFullAbout().Bool() && shouldExpand) { + shouldExpand = false; + } + if (textLayout.getLineCount() >= 3 && shouldExpand) { int end = Math.max(textLayout.getLineStart(2), textLayout.getLineEnd(2)); if (stringBuilder.charAt(end - 1) == '\n')