From 5dcb72f5af653d4219f7b2e8ae8106c8051475cb Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Mon, 15 Jun 2026 18:30:29 +0200 Subject: [PATCH] feat(android): rename display name to "Punktfunk" + drop the Settings "Done" button - Display name capitalized: app_name (launcher label + permission dialogs) and the connect-screen header are now "Punktfunk". Package/applicationId/service names stay lowercase. - Settings: removed the redundant "Done" button (the bottom tab bar is the navigation; system Back still returns to Connect). Dropped the now-unused imports. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../app/src/main/kotlin/io/unom/punktfunk/MainActivity.kt | 2 +- .../app/src/main/kotlin/io/unom/punktfunk/SettingsScreen.kt | 6 ------ clients/android/app/src/main/res/values/strings.xml | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/clients/android/app/src/main/kotlin/io/unom/punktfunk/MainActivity.kt b/clients/android/app/src/main/kotlin/io/unom/punktfunk/MainActivity.kt index d1013d0..160e5b3 100644 --- a/clients/android/app/src/main/kotlin/io/unom/punktfunk/MainActivity.kt +++ b/clients/android/app/src/main/kotlin/io/unom/punktfunk/MainActivity.kt @@ -342,7 +342,7 @@ private fun ConnectScreen(settings: Settings, onConnected: (Long) -> Unit) { horizontalAlignment = Alignment.CenterHorizontally, ) { Spacer(Modifier.height(8.dp)) - Text("punktfunk", style = MaterialTheme.typography.headlineLarge) + Text("Punktfunk", style = MaterialTheme.typography.headlineLarge) Text( "stream a remote desktop", style = MaterialTheme.typography.bodyMedium, diff --git a/clients/android/app/src/main/kotlin/io/unom/punktfunk/SettingsScreen.kt b/clients/android/app/src/main/kotlin/io/unom/punktfunk/SettingsScreen.kt index 8ea8aa0..62b547d 100644 --- a/clients/android/app/src/main/kotlin/io/unom/punktfunk/SettingsScreen.kt +++ b/clients/android/app/src/main/kotlin/io/unom/punktfunk/SettingsScreen.kt @@ -8,10 +8,8 @@ import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row -import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth -import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll @@ -24,7 +22,6 @@ import androidx.compose.material3.MaterialTheme import androidx.compose.material3.OutlinedTextField import androidx.compose.material3.Switch import androidx.compose.material3.Text -import androidx.compose.material3.TextButton import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf @@ -114,9 +111,6 @@ fun SettingsScreen(initial: Settings, onChange: (Settings) -> Unit, onBack: () - }, ) } - - Spacer(Modifier.height(8.dp)) - TextButton(onClick = onBack) { Text("Done") } } } diff --git a/clients/android/app/src/main/res/values/strings.xml b/clients/android/app/src/main/res/values/strings.xml index c590999..f009c45 100644 --- a/clients/android/app/src/main/res/values/strings.xml +++ b/clients/android/app/src/main/res/values/strings.xml @@ -1,4 +1,4 @@ - punktfunk + Punktfunk