From b86c59ef246a5c8cf94ce5044d609d47b95e2aff Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 20 Sep 2024 12:10:24 +0200 Subject: [PATCH] Fixed typo and centering text --- .../codinux/banking/ui/screens/ProtectAppSettingsDialog.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/ProtectAppSettingsDialog.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/ProtectAppSettingsDialog.kt index b1a9a4d..45e8e34 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/ProtectAppSettingsDialog.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/ProtectAppSettingsDialog.kt @@ -82,9 +82,9 @@ fun ProtectAppSettingsDialog(appSettings: AppSettings, onClosed: () -> Unit) { Spacer(Modifier.weight(1f)) if (selectedAuthenticationMethod == AppAuthenticationMethod.None) { - Row(Modifier.fillMaxWidth()) { + Row(Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.Center) { if (currentAuthenticationMethod == AppAuthenticationMethod.None) { - Text("Appzugangsschutz ist bereits ungeschützt", fontSize = 18.sp, textAlign = TextAlign.Center) + Text("Appzugang ist bereits ungeschützt", fontSize = 18.sp, textAlign = TextAlign.Center) } else { Text("Möchten Sie den Appzugangsschutz wirklich entfernen?", fontSize = 18.sp, textAlign = TextAlign.Center) }