mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 16:18:55 +01:00 
			
		
		
		
	Restore dark blue theme. Closes #1302
This commit is contained in:
		@@ -50,6 +50,7 @@ class MainActivity : BaseActivity() {
 | 
			
		||||
        setTheme(when (preferences.theme()) {
 | 
			
		||||
            2 -> R.style.Theme_Tachiyomi_Dark
 | 
			
		||||
            3 -> R.style.Theme_Tachiyomi_Amoled
 | 
			
		||||
            4 -> R.style.Theme_Tachiyomi_DarkBlue
 | 
			
		||||
            else -> R.style.Theme_Tachiyomi
 | 
			
		||||
        })
 | 
			
		||||
        super.onCreate(savedInstanceState)
 | 
			
		||||
 
 | 
			
		||||
@@ -52,8 +52,9 @@ class SettingsGeneralController : SettingsController() {
 | 
			
		||||
        intListPreference {
 | 
			
		||||
            key = Keys.theme
 | 
			
		||||
            titleRes = R.string.pref_theme
 | 
			
		||||
            entriesRes = arrayOf(R.string.light_theme, R.string.dark_theme, R.string.amoled_theme)
 | 
			
		||||
            entryValues = arrayOf("1", "2", "3")
 | 
			
		||||
            entriesRes = arrayOf(R.string.light_theme, R.string.dark_theme,
 | 
			
		||||
                    R.string.amoled_theme, R.string.darkblue_theme)
 | 
			
		||||
            entryValues = arrayOf("1", "2", "3", "4")
 | 
			
		||||
            defaultValue = "1"
 | 
			
		||||
            summary = "%s"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user