mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
Prevent crash
This commit is contained in:
parent
6be51423c1
commit
b299f5e0c2
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ public class FragmentOptions extends FragmentBase {
|
|||
.setOnDismissListener(new DialogInterface.OnDismissListener() {
|
||||
@Override
|
||||
public void onDismiss(DialogInterface dialog) {
|
||||
if (!prefs.getBoolean("setup_advanced", false))
|
||||
if (pager != null && !prefs.getBoolean("setup_advanced", false))
|
||||
pager.setCurrentItem(0);
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue