Update backup name/icon to match upstream

This commit is contained in:
Jays2Kings 2021-07-04 13:21:18 -04:00
parent 25c5f6dd36
commit 505fa871e6
4 changed files with 37 additions and 42 deletions

View File

@ -44,10 +44,7 @@ class SettingsBackupController : SettingsController() {
}
override fun setupPreferenceScreen(screen: PreferenceScreen) = screen.apply {
titleRes = R.string.backup
preferenceCategory {
titleRes = R.string.backup
titleRes = R.string.backup_and_restore
preference {
key = "pref_create_backup"
@ -82,7 +79,6 @@ class SettingsBackupController : SettingsController() {
}
}
}
}
preferenceCategory {
titleRes = R.string.automatic_backups

View File

@ -61,9 +61,9 @@ class SettingsMainController : SettingsController(), FloatingSearchInterface {
onClick { navigateTo(SettingsTrackingController()) }
}
preference {
iconRes = R.drawable.ic_backup_24dp
iconRes = R.drawable.ic_backup_restore_24dp
iconTint = tintColor
titleRes = R.string.backup
titleRes = R.string.backup_and_restore
onClick { navigateTo(SettingsBackupController()) }
}
preference {

View File

@ -1,9 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M19.35,10.04C18.67,6.59 15.64,4 12,4 9.11,4 6.6,5.64 5.35,8.04 2.34,8.36 0,10.91 0,14c0,3.31 2.69,6 6,6h13c2.76,0 5,-2.24 5,-5 0,-2.64 -2.05,-4.78 -4.65,-4.96zM14,13v4h-4v-4H7l5,-5 5,5h-3z"/>
</vector>

View File

@ -0,0 +1,8 @@
<!-- drawable/backup_restore.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="#000" android:pathData="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z" />
</vector>