Make offline the default

This commit is contained in:
Jobobby04 2020-10-14 12:46:39 -04:00
parent 413c88d99f
commit f6fd8a8ddb
2 changed files with 5 additions and 5 deletions

View File

@ -237,8 +237,8 @@ class SettingsBackupController : SettingsController() {
val uri = data.data
if (uri != null) {
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) }
MaterialDialog(activity!!)
@ -250,7 +250,7 @@ class SettingsBackupController : SettingsController() {
RestoreBackupDialog(
uri,
BackupConst.BACKUP_TYPE_FULL,
isOnline = index == 0
isOnline = index != 0
).showDialog(router)
}
.positiveButton(R.string.action_restore)

View File

@ -364,8 +364,8 @@
<string name="pref_backup_interval">Backup frequency</string>
<string name="pref_backup_slots">Maximum backups</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_offline">Restore offline, finishes quickly but contains only what you backup has</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 your backup has</string>
<string name="create_backup">Create backup</string>
<string name="restore_backup">Restore backup</string>
<string name="source_not_found_name">Source not found: %1$s</string>