mirror of
https://github.com/MGislv/NekoX.git
synced 2024-06-28 09:34:05 +00:00
try fix tabs crash
This commit is contained in:
parent
f8a72d335e
commit
ec0caec469
|
@ -1327,7 +1327,7 @@ public class FilterTabsView extends FrameLayout {
|
|||
Tab firstTab = findDefaultTab();
|
||||
int tabWith = 0;
|
||||
int trueTabsWidth = allTabsWidth ;
|
||||
if (showAllChatsTab) {
|
||||
if (showAllChatsTab && firstTab != null) {
|
||||
tabWith = firstTab.getWidth(false);
|
||||
trueTabsWidth = allTabsWidth - tabWith;
|
||||
firstTab.setTitle(allTabsWidth > width ? LocaleController.getString("FilterAllChatsShort", R.string.FilterAllChatsShort) : LocaleController.getString("FilterAllChats", R.string.FilterAllChats));
|
||||
|
|
Loading…
Reference in New Issue
Block a user