mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Moved export/import to settings tab page
This commit is contained in:
@@ -78,7 +78,8 @@ public class FragmentOptions extends FragmentBase {
|
||||
R.layout.fragment_options_privacy,
|
||||
R.layout.fragment_options_encryption,
|
||||
R.layout.fragment_options_notifications,
|
||||
R.layout.fragment_options_misc
|
||||
R.layout.fragment_options_misc,
|
||||
R.layout.fragment_options_backup
|
||||
};
|
||||
|
||||
static final int[] PAGE_TITLES = {
|
||||
@@ -91,7 +92,8 @@ public class FragmentOptions extends FragmentBase {
|
||||
R.string.title_advanced_section_privacy,
|
||||
R.string.title_advanced_section_encryption,
|
||||
R.string.title_advanced_section_notifications,
|
||||
R.string.title_advanced_section_misc
|
||||
R.string.title_advanced_section_misc,
|
||||
R.string.title_advanced_section_backup
|
||||
};
|
||||
|
||||
static final int[] PAGE_ICONS = {
|
||||
@@ -104,7 +106,8 @@ public class FragmentOptions extends FragmentBase {
|
||||
R.drawable.twotone_account_circle_24,
|
||||
R.drawable.twotone_lock_24,
|
||||
R.drawable.twotone_notifications_24,
|
||||
R.drawable.twotone_more_24
|
||||
R.drawable.twotone_more_24,
|
||||
R.drawable.twotone_save_alt_24
|
||||
};
|
||||
|
||||
static final List<String> TAB_LABELS = Collections.unmodifiableList(Arrays.asList(
|
||||
@@ -117,7 +120,8 @@ public class FragmentOptions extends FragmentBase {
|
||||
"privacy",
|
||||
"encryption",
|
||||
"notifications",
|
||||
"misc"
|
||||
"misc",
|
||||
"backup"
|
||||
));
|
||||
|
||||
static String[] OPTIONS_RESTART = new String[]{
|
||||
@@ -506,6 +510,8 @@ public class FragmentOptions extends FragmentBase {
|
||||
return new FragmentOptionsNotifications();
|
||||
case 9:
|
||||
return new FragmentOptionsMisc();
|
||||
case 10:
|
||||
return new FragmentOptionsBackup();
|
||||
default:
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user