mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Update some icons
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
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,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 {
 | 
			
		||||
 
 | 
			
		||||
@@ -254,7 +254,7 @@ class SourceController :
 | 
			
		||||
        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
 | 
			
		||||
 
 | 
			
		||||
@@ -96,7 +96,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())
 | 
			
		||||
 
 | 
			
		||||
@@ -59,7 +59,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