mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Tweak theme preference item UI
This commit is contained in:
		| @@ -54,9 +54,6 @@ class ThemesPreferenceAdapter(private val clickListener: OnItemClickListener) : | ||||
|         fun bind(appTheme: PreferenceValues.AppTheme) { | ||||
|             binding.name.text = view.context.getString(appTheme.titleResId!!) | ||||
|  | ||||
|             // Rounded corners | ||||
|             binding.coverContainer.clipToOutline = true | ||||
|  | ||||
|             val isSelected = preferences.appTheme().get() == appTheme | ||||
|             binding.themeCard.isChecked = isSelected | ||||
|             binding.themeCard.strokeColor = if (isSelected) selectedColor else unselectedColor | ||||
|   | ||||
		Reference in New Issue
	
	Block a user