Export is not advanced

pull/214/head
M66B 1 year ago
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…
Cancel
Save