1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-20 13:17:08 +00:00

Fixed crash

This commit is contained in:
M66B 2021-03-06 16:59:03 +01:00
parent 6d25539fd7
commit a587acf2f3

View file

@ -252,7 +252,7 @@ public class FragmentOptions extends FragmentBase {
views = new View[TAB_PAGES.length];
LayoutInflater inflater = LayoutInflater.from(searchView.getContext());
for (int tab = 0; tab < TAB_PAGES.length; tab++) {
titles[tab] = (String) adapter.getPageTitle(tab);
titles[tab] = adapter.getPageTitle(tab).toString();
views[tab] = inflater.inflate(TAB_PAGES[tab], null);
}
}