From 42272b878b02384c00b3179af49263e5bf47a011 Mon Sep 17 00:00:00 2001 From: faisalcodes Date: Fri, 3 Feb 2023 21:35:41 +0530 Subject: [PATCH] Fixes: icons not showing in the player menu options. --- .../java/com/github/libretube/ui/extensions/SetDrawables.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/github/libretube/ui/extensions/SetDrawables.kt b/app/src/main/java/com/github/libretube/ui/extensions/SetDrawables.kt index d0cc80194..d62fd6ad1 100644 --- a/app/src/main/java/com/github/libretube/ui/extensions/SetDrawables.kt +++ b/app/src/main/java/com/github/libretube/ui/extensions/SetDrawables.kt @@ -25,5 +25,5 @@ fun TextView.setDrawables( end: Drawable? = null, bottom: Drawable? = null ) { - TextViewCompat.setCompoundDrawablesRelative(this, start, top, end, bottom) + TextViewCompat.setCompoundDrawablesRelativeWithIntrinsicBounds(this, start, top, end, bottom) }