mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 22:12:55 +00:00
Add ability to disable backup reminder
This commit is contained in:
parent
fd42c5c893
commit
61d41a26fa
40 changed files with 96 additions and 38 deletions
|
@ -278,6 +278,14 @@ public class Preferences {
|
|||
setBuiltInBackupResult(null);
|
||||
}
|
||||
|
||||
public boolean isBackupReminderEnabled() {
|
||||
return _prefs.getBoolean("pref_backup_reminder", true);
|
||||
}
|
||||
|
||||
public void setIsBackupReminderEnabled(boolean enabled) {
|
||||
_prefs.edit().putBoolean("pref_backup_reminder", enabled).apply();
|
||||
}
|
||||
|
||||
public Uri getBackupsLocation() {
|
||||
String str = _prefs.getString("pref_backups_location", null);
|
||||
if (str != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue