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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue