Rename Android root composable to KlottrAppShell to reflect shared-driven UI

This commit is contained in:
2025-09-19 13:06:25 +02:00
parent 5b9f18f405
commit 8e7d7315b0

View File

@@ -266,7 +266,7 @@ class MainActivity : ComponentActivity() {
} }
KlottrTheme(darkTheme = night) { KlottrTheme(darkTheme = night) {
KlottrApp( KlottrAppShell(
onRequestPerms = { this@MainActivity.requestAllRuntimePerms() }, onRequestPerms = { this@MainActivity.requestAllRuntimePerms() },
onLogin = { onLogin = {
val client = Auth.signInClient(this) val client = Auth.signInClient(this)
@@ -368,7 +368,7 @@ fun AboutDialog(onDismiss: () -> Unit) {
@OptIn(ExperimentalMaterial3Api::class) @OptIn(ExperimentalMaterial3Api::class)
@Composable @Composable
private fun KlottrApp( private fun KlottrAppShell(
onRequestPerms: () -> Unit, onRequestPerms: () -> Unit,
onLogin: () -> Unit, onLogin: () -> Unit,
onLogout: () -> Unit onLogout: () -> Unit