mirror of https://github.com/readrops/Readrops.git
Fix AddFeedDialog state not being reset after adding a feed
This commit is contained in:
parent
0aced64faf
commit
2be1dd0b72
|
@ -173,6 +173,7 @@ class FeedScreenModel(
|
|||
repository?.insertNewFeeds(listOf(url))
|
||||
|
||||
closeDialog()
|
||||
resetAddFeedDialogState()
|
||||
} else {
|
||||
val rssUrls = HtmlParser.getFeedLink(url, get())
|
||||
|
||||
|
@ -185,6 +186,7 @@ class FeedScreenModel(
|
|||
repository?.insertNewFeeds(rssUrls.map { it.url })
|
||||
|
||||
closeDialog()
|
||||
resetAddFeedDialogState()
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
|
|
Loading…
Reference in New Issue