mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 17:26:12 +00:00
Backup startup screen
This commit is contained in:
parent
7c10f5035c
commit
03c4ba81a5
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,7 @@ public class FairEmailBackupAgent extends BackupAgent {
|
||||||
JSONObject jsettings = new JSONObject();
|
JSONObject jsettings = new JSONObject();
|
||||||
jsettings.put("enabled", prefs.getBoolean("enabled", true));
|
jsettings.put("enabled", prefs.getBoolean("enabled", true));
|
||||||
jsettings.put("poll_interval", prefs.getInt("poll_interval", 0));
|
jsettings.put("poll_interval", prefs.getInt("poll_interval", 0));
|
||||||
|
jsettings.put("startup", prefs.getString("startup", "unified"));
|
||||||
String theme = prefs.getString("theme", null);
|
String theme = prefs.getString("theme", null);
|
||||||
if (!TextUtils.isEmpty(theme))
|
if (!TextUtils.isEmpty(theme))
|
||||||
jsettings.put("theme", theme);
|
jsettings.put("theme", theme);
|
||||||
|
@ -182,6 +183,7 @@ public class FairEmailBackupAgent extends BackupAgent {
|
||||||
JSONObject jsettings = jroot.getJSONObject("settings");
|
JSONObject jsettings = jroot.getJSONObject("settings");
|
||||||
editor.putBoolean("enabled", jsettings.optBoolean("enabled"));
|
editor.putBoolean("enabled", jsettings.optBoolean("enabled"));
|
||||||
editor.putInt("poll_interval", jsettings.optInt("poll_interval", 0));
|
editor.putInt("poll_interval", jsettings.optInt("poll_interval", 0));
|
||||||
|
editor.putString("startup", jsettings.optString("startup", "unified"));
|
||||||
String theme = jsettings.optString("theme", null);
|
String theme = jsettings.optString("theme", null);
|
||||||
if (!TextUtils.isEmpty(theme))
|
if (!TextUtils.isEmpty(theme))
|
||||||
editor.putString("theme", theme);
|
editor.putString("theme", theme);
|
||||||
|
|
Loading…
Reference in a new issue