1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 00:20:32 +00:00

Do not call showContentNotSupportedIfNeeded multiple times

This commit is contained in:
Stypox 2022-05-06 10:40:08 +02:00 committed by GitHub
parent 238aff7c31
commit 71e46d1eca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -532,6 +532,7 @@ public class ChannelFragment extends BaseListInfoFragment<StreamInfoItem, Channe
if (throwable instanceof ContentNotSupportedException) { if (throwable instanceof ContentNotSupportedException) {
channelContentNotSupported = true; channelContentNotSupported = true;
showContentNotSupportedIfNeeded(); showContentNotSupportedIfNeeded();
break;
} }
} }