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:
parent
413a1b504a
commit
97978033dd
@ -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);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user