mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2025-01-05 17:36:38 +01:00
Fix allow hide "All Chats"
This commit is contained in:
parent
4ab054520c
commit
cbec0cc444
@ -968,7 +968,7 @@ public class FilterTabsView extends FrameLayout {
|
||||
requestLayout();
|
||||
adapter.notifyDataSetChanged();
|
||||
allTabsWidth = 0;
|
||||
tabs.get(0).setTitle(LocaleController.getString("FilterAllChats", R.string.FilterAllChats));
|
||||
if (!NekoConfig.hideAllTab) tabs.get(0).setTitle(LocaleController.getString("FilterAllChats", R.string.FilterAllChats));
|
||||
for (int b = 0; b < N; b++) {
|
||||
allTabsWidth += tabs.get(b).getWidth(true) + AndroidUtilities.dp(32);
|
||||
}
|
||||
@ -997,7 +997,7 @@ public class FilterTabsView extends FrameLayout {
|
||||
requestLayout();
|
||||
adapter.notifyDataSetChanged();
|
||||
allTabsWidth = 0;
|
||||
tabs.get(0).setTitle(LocaleController.getString("FilterAllChats", R.string.FilterAllChats));
|
||||
if (!NekoConfig.hideAllTab) tabs.get(0).setTitle(LocaleController.getString("FilterAllChats", R.string.FilterAllChats));
|
||||
for (int b = 0, N = tabs.size(); b < N; b++) {
|
||||
allTabsWidth += tabs.get(b).getWidth(true) + AndroidUtilities.dp(32);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user