mirror of
https://github.com/yuliskov/SmartTube.git
synced 2025-12-30 18:40:27 -06:00
video menu: toggle subscribe fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user