Move "SOS" to strings
This commit is contained in:
parent
50f0be9e20
commit
0767d76345
|
@ -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
|
||||
|
|
|
@ -2,4 +2,6 @@
|
|||
<resources>
|
||||
<string name="package_name">com.simplemobiletools.flashlight</string>
|
||||
|
||||
<string name="sos">SOS</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue