Make offline the default
This commit is contained in:
parent
413c88d99f
commit
f6fd8a8ddb
@ -237,8 +237,8 @@ class SettingsBackupController : SettingsController() {
|
|||||||
val uri = data.data
|
val uri = data.data
|
||||||
if (uri != null) {
|
if (uri != null) {
|
||||||
val options = arrayOf(
|
val options = arrayOf(
|
||||||
R.string.full_restore_online,
|
R.string.full_restore_offline,
|
||||||
R.string.full_restore_offline
|
R.string.full_restore_online
|
||||||
)
|
)
|
||||||
.map { activity!!.getString(it) }
|
.map { activity!!.getString(it) }
|
||||||
MaterialDialog(activity!!)
|
MaterialDialog(activity!!)
|
||||||
@ -250,7 +250,7 @@ class SettingsBackupController : SettingsController() {
|
|||||||
RestoreBackupDialog(
|
RestoreBackupDialog(
|
||||||
uri,
|
uri,
|
||||||
BackupConst.BACKUP_TYPE_FULL,
|
BackupConst.BACKUP_TYPE_FULL,
|
||||||
isOnline = index == 0
|
isOnline = index != 0
|
||||||
).showDialog(router)
|
).showDialog(router)
|
||||||
}
|
}
|
||||||
.positiveButton(R.string.action_restore)
|
.positiveButton(R.string.action_restore)
|
||||||
|
@ -364,8 +364,8 @@
|
|||||||
<string name="pref_backup_interval">Backup frequency</string>
|
<string name="pref_backup_interval">Backup frequency</string>
|
||||||
<string name="pref_backup_slots">Maximum backups</string>
|
<string name="pref_backup_slots">Maximum backups</string>
|
||||||
<string name="full_restore_mode">Network Mode</string>
|
<string name="full_restore_mode">Network Mode</string>
|
||||||
<string name="full_restore_online">Restore online, slower but gives you more updated info and chapters</string>
|
<string name="full_restore_online">Restore online, much slower but gives you more updated info and chapters</string>
|
||||||
<string name="full_restore_offline">Restore offline, finishes quickly but contains only what you backup has</string>
|
<string name="full_restore_offline">Restore offline, finishes quickly but contains only what your backup has</string>
|
||||||
<string name="create_backup">Create backup</string>
|
<string name="create_backup">Create backup</string>
|
||||||
<string name="restore_backup">Restore backup</string>
|
<string name="restore_backup">Restore backup</string>
|
||||||
<string name="source_not_found_name">Source not found: %1$s</string>
|
<string name="source_not_found_name">Source not found: %1$s</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user