Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/src/main/java/com/joinself/app/demo/SelfDemoApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.joinself.app.demo

import android.content.Intent
import android.util.Log
import android.widget.Toast
import androidx.activity.compose.BackHandler
import androidx.compose.animation.EnterTransition
import androidx.compose.animation.ExitTransition
Expand Down Expand Up @@ -237,6 +238,8 @@ fun SelfDemoApp(
withContext(Dispatchers.Main) {
if (appState.serverState is ServerState.Success) {
navController.navigate(MainRoute.ServerConnectionReady)
} else {
Toast.makeText(context, "Failed to connect to server", Toast.LENGTH_LONG).show()
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ navigationCompose = "2.9.6"
composeBom = "2025.12.01"
gradleAndroidGitVersion = "0.4.14"
timber = "5.0.1"
sdkAndroid = "1.8.0-11-SNAPSHOT"
sdkAndroid = "1.8.0-12-SNAPSHOT"

[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
Expand Down