From f1d187faa59fbd5b791f7c076e82ede581198c7e Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sun, 9 Apr 2023 10:59:01 +0800 Subject: [PATCH] fix: LanguageSelectActivity --- .../main/java/org/telegram/ui/LanguageSelectActivity.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/LanguageSelectActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/LanguageSelectActivity.java index 85f6aea8c..c4c77dfce 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/LanguageSelectActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/LanguageSelectActivity.java @@ -11,9 +11,7 @@ package org.telegram.ui; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; -import android.content.res.Configuration; import android.graphics.Canvas; -import android.view.Gravity; import android.text.TextUtils; import android.view.View; import android.view.ViewGroup; @@ -718,12 +716,6 @@ public class LanguageSelectActivity extends BaseFragment implements Notification @Override public int getItemViewType(int i) { - if (!search) - i -= 2; - if (i == -2) - return 2; - if (i == -1) - return 3; if (search) { return VIEW_TYPE_LANGUAGE; } else {