mirror of https://github.com/M66B/FairEmail.git
Export is not advanced
This commit is contained in:
parent
644f203b82
commit
a16bb54c4a
|
@ -194,7 +194,8 @@ public class FragmentOptions extends FragmentBase {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPageSelected(int position) {
|
public void onPageSelected(int position) {
|
||||||
if (position > 0) {
|
if (position > 0 && position < PAGE_TITLES.length &&
|
||||||
|
PAGE_TITLES[position] != R.string.title_advanced_section_backup) {
|
||||||
final Context context = getContext();
|
final Context context = getContext();
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
boolean setup_advanced = prefs.getBoolean("setup_advanced", false);
|
boolean setup_advanced = prefs.getBoolean("setup_advanced", false);
|
||||||
|
|
Loading…
Reference in New Issue