Fixed crash

pull/194/head
M66B 4 years ago
parent 6d25539fd7
commit a587acf2f3

@ -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);
}
}

Loading…
Cancel
Save