Skip to content

Commit d248b27

Browse files
committed
fix: always use account subscriptions repository if logged in to Piped
1 parent f262210 commit d248b27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)