add chat rule

This commit is contained in:
2026-08-06 20:59:08 +03:00
parent dd657f83d0
commit 7cc21d101a
3 changed files with 14 additions and 2 deletions
@@ -27,6 +27,7 @@ object UrlRoutes {
const val REGISTER = RouteIds.REGISTER
const val EDIT_PASSWORD = RouteIds.EDIT_PASSWORD
const val TAG_OVERVIEW = RouteIds.TAG_OVERVIEW
const val CHAT = RouteIds.CHAT
}
object Param {
@@ -101,6 +102,17 @@ object UrlRoutes {
}
),
rule(
match = { it is Route.Chat },
build = {
Built(
"/${Seg.CHAT}",
emptyMap()
)
},
parse = { _, _ -> Route.Chat() }
),
// "/search"
rule(
match = { it is Route.SearchVideos },
+1 -1
View File
@@ -9,7 +9,7 @@ desugar_jdk_libs = "2.1.5"
haze = "1.7.2"
java-jwt = "4.6.0"
kotlin-version = "2.4.10"
agp = "9.3.0"
agp = "9.3.1"
coroutines-extensions = "1.5.5"
decompose-version = "3.5.0"