mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix icon standard color
This commit is contained in:
@@ -51,7 +51,7 @@ abstract class IconFragment<T: IconImageDraw> : StylishFragment() {
|
||||
super.onAttach(context)
|
||||
|
||||
// Retrieve the textColor to tint the icon
|
||||
val ta = contextThemed?.obtainStyledAttributes(intArrayOf(R.attr.colorControlNormal))
|
||||
val ta = contextThemed?.obtainStyledAttributes(intArrayOf(android.R.attr.textColor))
|
||||
val tintColor = ta?.getColor(0, Color.BLACK) ?: Color.BLACK
|
||||
ta?.recycle()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user