From 0767d7634569c807a011251672f910ea0b9658ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Mon, 2 Oct 2023 17:00:17 +0200 Subject: [PATCH] Move "SOS" to strings --- .../com/simplemobiletools/flashlight/screens/MainScreen.kt | 2 +- app/src/main/res/values/donottranslate.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/flashlight/screens/MainScreen.kt b/app/src/main/kotlin/com/simplemobiletools/flashlight/screens/MainScreen.kt index 03b6eaa..2b4e913 100644 --- a/app/src/main/kotlin/com/simplemobiletools/flashlight/screens/MainScreen.kt +++ b/app/src/main/kotlin/com/simplemobiletools/flashlight/screens/MainScreen.kt @@ -138,7 +138,7 @@ internal fun MainScreen( interactionSource = rememberMutableInteractionSource(), onClick = onSosButtonPress ), - text = "SOS", + text = stringResource(id = R.string.sos), fontSize = TextUnit(dimensionResource(id = R.dimen.sos_text_size).value, TextUnitType.Sp), fontWeight = FontWeight.Bold, color = if (sosActive) MaterialTheme.colorScheme.primary else MaterialTheme.colorScheme.onSurface diff --git a/app/src/main/res/values/donottranslate.xml b/app/src/main/res/values/donottranslate.xml index 35c5aa6..0743654 100644 --- a/app/src/main/res/values/donottranslate.xml +++ b/app/src/main/res/values/donottranslate.xml @@ -2,4 +2,6 @@ com.simplemobiletools.flashlight + SOS +