Skip to content

Commit

Permalink
Clear article when deselecting a feed
Browse files Browse the repository at this point in the history
  • Loading branch information
jocmp committed Dec 21, 2023
1 parent 84e00ae commit 7b11ec0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ class AccountViewModel(

fun selectFeed(feedID: String, onComplete: () -> Unit) {
this.feedID.value = feedID

pager.value = account?.feedPagingSource(this.feedID.value)
clearArticle()

onComplete()
}
Expand Down

0 comments on commit 7b11ec0

Please sign in to comment.