Project

General

Profile

Actions

Bug #802

closed

The app crashes if the app theme is changed twice in the settings

Added by Soren Stoutner about 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Next Release
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.

Actions #1

Updated by Soren Stoutner 11 months ago

  • Status changed from New to Closed

The switch to FragmentStateAdapter in #587 appears to have fixed this bug.

Actions

Also available in: Atom PDF