Skip to content

Commit 8f901ee

Browse files
authored
Merge pull request #7350 from Bnyro/master
fix: always use account subscriptions repository if logged in to Piped
2 parents 09a306e + d248b27 commit 8f901ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/github/libretube/api/SubscriptionHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ object SubscriptionHelper {
2828
private val token get() = PreferenceHelper.getToken()
2929
private val subscriptionsRepository: SubscriptionsRepository
3030
get() = when {
31-
localFeedExtraction -> LocalSubscriptionsRepository()
3231
token.isNotEmpty() -> AccountSubscriptionsRepository()
32+
localFeedExtraction -> LocalSubscriptionsRepository()
3333
else -> PipedLocalSubscriptionsRepository()
3434
}
3535
private val feedRepository: FeedRepository

0 commit comments

Comments
 (0)