video menu: toggle subscribe fix

This commit is contained in:
Yuriy Liskov
2025-07-06 00:12:08 +03:00
parent 3b34a89019
commit cbc3d492d6

View File

@@ -812,7 +812,7 @@ public class VideoMenuPresenter extends BaseMenuPresenter {
// Until synced we won't really know weather we subscribed to a channel.
// Exclusion: channel item (can't be synced)
// Note, regular items (from subscribed section etc) aren't contain channel id
if (mVideo.isSynced || mVideo.isChannel() || (!mServiceManager.isSigned() && mVideo.channelId != null)) {
if (mVideo.isSynced || mVideo.isSubscribed || mVideo.isChannel() || (!mServiceManager.isSigned() && mVideo.channelId != null)) {
toggleSubscribe(mVideo);
} else {
MessageHelpers.showMessage(getContext(), R.string.wait_data_loading);