Rename Android root composable to KlottrAppShell to reflect shared-driven UI
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user