Actions
Bug #802
closedThe app crashes if the app theme is changed twice in the settings
Start date:
02/05/2022
Due date:
% Done:
0%
Estimated time:
Description
The crash results from WebViewPagerAdapter.java:166 calling `webViewFragmentsList.get(pageNumber);`. My guess is that switching the theme causes the WebViewPagerAdapter to reload, and it doesn't become active until after the MainViewActivity is reloaded. However, I can't think of a way to work around that problem.
Updated by Soren Stoutner almost 2 years ago
- Status changed from New to Closed
The switch to FragmentStateAdapter in #587 appears to have fixed this bug.
Actions