Export is not advanced

pull/214/head
M66B 12 months ago
parent 644f203b82
commit a16bb54c4a

@ -194,7 +194,8 @@ public class FragmentOptions extends FragmentBase {
@Override
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();
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean setup_advanced = prefs.getBoolean("setup_advanced", false);

Loading…
Cancel
Save