mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Address some Android lint warnings
This commit is contained in:
		| @@ -4,6 +4,7 @@ import android.content.Context | ||||
| import android.content.res.ColorStateList | ||||
| import android.util.AttributeSet | ||||
| import androidx.appcompat.widget.AppCompatTextView | ||||
| import androidx.core.widget.TextViewCompat | ||||
| import eu.kanade.tachiyomi.R | ||||
| import eu.kanade.tachiyomi.util.system.getThemeColor | ||||
|  | ||||
| @@ -31,7 +32,7 @@ class QuadStateTextView @JvmOverloads constructor(context: Context, attrs: Attri | ||||
|             context.getThemeColor(R.attr.colorAccent) | ||||
|         } | ||||
|         if (tint != 0) { | ||||
|             compoundDrawableTintList = ColorStateList.valueOf(tint) | ||||
|             TextViewCompat.setCompoundDrawableTintList(this, ColorStateList.valueOf(tint)) | ||||
|         } | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user