mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Fix crash in settings search (fixes #5855)
This commit is contained in:
		| @@ -196,7 +196,7 @@ class SettingsAdvancedController : SettingsController() { | ||||
|                 summary = "%s" | ||||
|                 entriesRes = arrayOf(R.string.lock_always, R.string.landscape, R.string.lock_never) | ||||
|                 entryValues = PreferenceValues.TabletUiMode.values().map { it.name }.toTypedArray() | ||||
|                 defaultValue = if (activity!!.applicationContext.isTablet()) { | ||||
|                 defaultValue = if (context.isTablet()) { | ||||
|                     PreferenceValues.TabletUiMode.ALWAYS | ||||
|                 } else { | ||||
|                     PreferenceValues.TabletUiMode.NEVER | ||||
|   | ||||
		Reference in New Issue
	
	Block a user