fix(overlay-buttons): repeat button in playlist cannot changed https://github.com/inotia00/ReVanced_Extended/issues/836

This commit is contained in:
inotia00 2023-04-30 18:07:43 +09:00
parent bb331e5c3a
commit e80997c246
3 changed files with 5 additions and 4 deletions

View File

@ -66,6 +66,7 @@ class OverlayButtonsPatch : ResourcePatch {
"revanced_download_icon.png", "revanced_download_icon.png",
"revanced_speed_icon.png", "revanced_speed_icon.png",
"revanced_whitelist_icon.png", "revanced_whitelist_icon.png",
"yt_fill_arrow_repeat_white_24.png",
"yt_outline_arrow_repeat_1_white_24.png", "yt_outline_arrow_repeat_1_white_24.png",
"yt_outline_arrow_shuffle_1_white_24.png", "yt_outline_arrow_shuffle_1_white_24.png",
"yt_outline_screen_full_exit_white_24.png", "yt_outline_screen_full_exit_white_24.png",

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

View File

@ -2,10 +2,10 @@
<selector android:constantSize="true" <selector android:constantSize="true"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:yt="http://schemas.android.com/apk/res-auto"> xmlns:android="http://schemas.android.com/apk/res/android" xmlns:yt="http://schemas.android.com/apk/res-auto">
<item android:state_enabled="true" android:state_pressed="true" yt:state_loop_one="false"> <item android:state_enabled="true" android:state_pressed="true" yt:state_loop_one="false">
<bitmap android:src="@drawable/yt_outline_arrow_repeat_1_white_24" android:tint="?ytTextPrimary" /> <bitmap android:src="@drawable/yt_fill_arrow_repeat_white_24" android:tint="?ytIconDisabled" />
</item> </item>
<item android:state_enabled="true" android:state_selected="true" yt:state_loop_one="false"> <item android:state_enabled="true" android:state_selected="true" yt:state_loop_one="false">
<bitmap android:src="@drawable/yt_outline_arrow_repeat_1_white_24" android:tint="?ytTextPrimary" /> <bitmap android:src="@drawable/yt_fill_arrow_repeat_white_24" android:tint="?ytCallToAction" />
</item> </item>
<item android:state_enabled="true" android:state_pressed="true" yt:state_loop_one="true"> <item android:state_enabled="true" android:state_pressed="true" yt:state_loop_one="true">
<bitmap android:src="@drawable/yt_outline_arrow_repeat_1_white_24" android:tint="?ytIconDisabled" /> <bitmap android:src="@drawable/yt_outline_arrow_repeat_1_white_24" android:tint="?ytIconDisabled" />
@ -14,9 +14,9 @@
<bitmap android:src="@drawable/yt_outline_arrow_repeat_1_white_24" android:tint="?ytCallToAction" /> <bitmap android:src="@drawable/yt_outline_arrow_repeat_1_white_24" android:tint="?ytCallToAction" />
</item> </item>
<item android:state_enabled="false"> <item android:state_enabled="false">
<bitmap android:src="@drawable/yt_outline_arrow_repeat_1_white_24" android:tint="?ytIconDisabled" /> <bitmap android:src="@drawable/yt_fill_arrow_repeat_white_24" android:tint="?ytIconDisabled" />
</item> </item>
<item android:state_enabled="true"> <item android:state_enabled="true">
<bitmap android:src="@drawable/yt_outline_arrow_repeat_1_white_24" android:tint="?ytTextPrimary" /> <bitmap android:src="@drawable/yt_fill_arrow_repeat_white_24" android:tint="?ytTextPrimary" />
</item> </item>
</selector> </selector>