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);
}
};