diff --git a/app/src/main/java/free/rm/skytube/businessobjects/YouTube/newpipe/VideoPagerWithChannel.java b/app/src/main/java/free/rm/skytube/businessobjects/YouTube/newpipe/VideoPagerWithChannel.java index bbad0e387..cf05652f5 100644 --- a/app/src/main/java/free/rm/skytube/businessobjects/YouTube/newpipe/VideoPagerWithChannel.java +++ b/app/src/main/java/free/rm/skytube/businessobjects/YouTube/newpipe/VideoPagerWithChannel.java @@ -63,6 +63,7 @@ public PersistentChannel getNextPageAsVideosAndUpdateChannel(@Nullable Persisten channel.getYouTubeVideos().addAll(videos); long lastPublish = videos.stream().mapToLong(YouTubeVideo::getPublishTimestamp).max().orElse(0); channel.setLastVideoTime(lastPublish); + channel.setUserSubscribed(persistentChannel != null ? persistentChannel.isSubscribed() : false); return SubscriptionsDb.getSubscriptionsDb().cacheChannel(persistentChannel, channel); }