Activate on click listeners only when not loading
For consistency with long click listeners, in VideoDetailFragment
This commit is contained in:
parent
cd8c8d69ea
commit
7587c386ec
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) {
|
private View.OnClickListener makeOnClickListener(final Consumer<StreamInfo> consumer) {
|
||||||
return v -> {
|
return v -> {
|
||||||
if (currentInfo != null) {
|
if (!isLoading.get() && currentInfo != null) {
|
||||||
consumer.accept(currentInfo);
|
consumer.accept(currentInfo);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue