Skip to content

Commit

Permalink
Fix crash when language is unknown (Fix #6)
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Feb 2, 2024
1 parent c10504a commit 11b9505
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/shared/src/commonMain/kotlin/TonbrettApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fun TonbrettApp(sessionExpiredState: MutableState<Boolean> = remember { mutableS
val context = LocalContext.current
var initialUser: User? by remember { mutableStateOf(null) }

val lyricist = rememberStrings(Locale.current.toLanguageTag())
val lyricist = rememberStrings()

suspend fun reportError(exception: Exception) {
if (exception is ReauthorizationRequiredException) {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

allprojects {
group = "dev.schlaubi.tonbrett"
version = "1.18.10"
version = "1.18.11"

repositories {
mavenCentral()
Expand Down

0 comments on commit 11b9505

Please sign in to comment.