Update some icons
(cherry picked from commit 5e5ceef122)
# Conflicts:
# app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceController.kt
This commit is contained in:
@@ -120,7 +120,7 @@ open class ExtensionController :
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
|
||||
inflater.inflate(R.menu.extension_main, menu)
|
||||
inflater.inflate(R.menu.browse_extensions, menu)
|
||||
|
||||
val searchItem = menu.findItem(R.id.action_search)
|
||||
val searchView = searchItem.actionView as SearchView
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ class MigrationSourcesController :
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
|
||||
inflater.inflate(R.menu.source_migration, menu)
|
||||
inflater.inflate(R.menu.browse_migrate, menu)
|
||||
}
|
||||
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
|
||||
@@ -390,7 +390,7 @@ class SourceController(bundle: Bundle? = null) :
|
||||
createOptionsMenu(
|
||||
menu,
|
||||
inflater,
|
||||
R.menu.source_main,
|
||||
R.menu.browse_sources,
|
||||
R.id.action_search,
|
||||
R.string.action_global_search_hint,
|
||||
false // GlobalSearch handles the searching here
|
||||
|
||||
@@ -119,7 +119,7 @@ class MoreController :
|
||||
}
|
||||
preference {
|
||||
titleRes = R.string.label_backup
|
||||
iconRes = R.drawable.ic_backup_24dp
|
||||
iconRes = R.drawable.ic_settings_backup_restore_24dp
|
||||
iconTint = tintColor
|
||||
onClick {
|
||||
router.pushController(SettingsBackupController().withFadeTransaction())
|
||||
|
||||
@@ -60,7 +60,7 @@ class SettingsMainController : SettingsController() {
|
||||
onClick { navigateTo(SettingsBrowseController()) }
|
||||
}
|
||||
preference {
|
||||
iconRes = R.drawable.ic_backup_24dp
|
||||
iconRes = R.drawable.ic_settings_backup_restore_24dp
|
||||
iconTint = tintColor
|
||||
titleRes = R.string.label_backup
|
||||
onClick { navigateTo(SettingsBackupController()) }
|
||||
|
||||
Reference in New Issue
Block a user