1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-02 23:13:12 +01:00

Activate on click listeners only when not loading

For consistency with long click listeners, in VideoDetailFragment
This commit is contained in:
Stypox 2022-12-31 17:49:10 +01:00
parent 413a1b504a
commit 97978033dd
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -523,7 +523,7 @@ public final class VideoDetailFragment
private View.OnClickListener makeOnClickListener(final Consumer<StreamInfo> consumer) {
return v -> {
if (currentInfo != null) {
if (!isLoading.get() && currentInfo != null) {
consumer.accept(currentInfo);
}
};