Merge pull request #568 from vishesh211/vishesh211/bug-534-interests-multiple-click

Interests multiple click
pull/731/head
Milosz Moczkowski 1 year ago committed by GitHub
commit 5f49c6ae25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,7 +37,9 @@ internal class TopicArgs(val topicId: String) {
fun NavController.navigateToTopic(topicId: String) {
val encodedId = Uri.encode(topicId)
this.navigate("topic_route/$encodedId")
this.navigate("topic_route/$encodedId") {
launchSingleTop = true
}
}
fun NavGraphBuilder.topicScreen(

Loading…
Cancel
Save