mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-25 11:22:12 +02:00
fix(YouTube Music - Flyout menu components): Flyout menu does not close when Watch on YouTube
is clicked
This commit is contained in:
parent
4b08cee075
commit
a482181cd2
@ -110,7 +110,10 @@ public class FlyoutPatch {
|
|||||||
runOnMainThreadDelayed(() -> {
|
runOnMainThreadDelayed(() -> {
|
||||||
textView.setText(str("revanced_replace_flyout_menu_dismiss_queue_watch_on_youtube_label"));
|
textView.setText(str("revanced_replace_flyout_menu_dismiss_queue_watch_on_youtube_label"));
|
||||||
imageView.setImageResource(getIdentifier("yt_outline_youtube_logo_icon_vd_theme_24", ResourceType.DRAWABLE, clickAbleArea.getContext()));
|
imageView.setImageResource(getIdentifier("yt_outline_youtube_logo_icon_vd_theme_24", ResourceType.DRAWABLE, clickAbleArea.getContext()));
|
||||||
clickAbleArea.setOnClickListener(view -> VideoUtils.openInYouTube());
|
clickAbleArea.setOnClickListener(view -> {
|
||||||
|
clickView(touchOutSideViewRef.get());
|
||||||
|
VideoUtils.openInYouTube();
|
||||||
|
});
|
||||||
}, 0L
|
}, 0L
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user