Relax MIUI backup/restore warning

This commit is contained in:
arkon 2021-07-21 18:14:07 -04:00
parent c42d517f6b
commit 0e4ce0f1ae
2 changed files with 1 additions and 3 deletions

View File

@ -65,7 +65,6 @@ class SettingsBackupController : SettingsController() {
onClick {
if (MiuiUtil.isMiui() && MiuiUtil.isMiuiOptimizationDisabled()) {
context.toast(R.string.restore_miui_warning, Toast.LENGTH_LONG)
return@onClick
}
if (!BackupCreateService.isRunning(context)) {
@ -85,7 +84,6 @@ class SettingsBackupController : SettingsController() {
onClick {
if (MiuiUtil.isMiui() && MiuiUtil.isMiuiOptimizationDisabled()) {
context.toast(R.string.restore_miui_warning, Toast.LENGTH_LONG)
return@onClick
}
if (!BackupRestoreService.isRunning(context)) {

View File

@ -421,7 +421,7 @@
<string name="backup_choice">What do you want to backup?</string>
<string name="creating_backup">Creating backup</string>
<string name="creating_backup_error">Backup failed</string>
<string name="restore_miui_warning">MIUI Optimization must be enabled for backup/restore to work correctly.</string>
<string name="restore_miui_warning">Backup/restore may not function properly if MIUI Optimization is disabled.</string>
<string name="restore_in_progress">Restore is already in progress</string>
<string name="restoring_backup">Restoring backup</string>
<string name="restoring_backup_error">Restoring backup failed</string>