mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 21:27:01 +05:30
fix typo
This commit is contained in:
parent
98866ee407
commit
1a6174b1c8
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ enum class Destination(
|
||||||
val startDestination = Hottest
|
val startDestination = Hottest
|
||||||
|
|
||||||
fun getDestinationFromRoute(route: String): Destination {
|
fun getDestinationFromRoute(route: String): Destination {
|
||||||
return values().firstOrNull { it.route == route } ?: error("Incorrect route password")
|
return values().firstOrNull { it.route == route } ?: error("Incorrect route passed")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue