From 7a3794eabbd0d542da15ce258d99581663f41f0d Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Tue, 10 Mar 2026 18:19:10 -0400 Subject: [PATCH] New string resource --- .../loggedIn/newUser/ImportFollowListPickFollowsScreen.kt | 7 +++++-- amethyst/src/main/res/values/strings.xml | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/newUser/ImportFollowListPickFollowsScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/newUser/ImportFollowListPickFollowsScreen.kt index 728ace780..bf84ea9f5 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/newUser/ImportFollowListPickFollowsScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/newUser/ImportFollowListPickFollowsScreen.kt @@ -54,6 +54,7 @@ import androidx.compose.runtime.remember import androidx.compose.runtime.setValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier +import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.unit.dp import com.vitorpamplona.amethyst.R @@ -176,7 +177,9 @@ private fun PreviewList( // Select all Row( - Modifier.fillMaxWidth().padding(vertical = 8.dp), + Modifier + .fillMaxWidth() + .padding(vertical = 8.dp), verticalAlignment = Alignment.CenterVertically, ) { Checkbox( @@ -186,7 +189,7 @@ private fun PreviewList( }, ) Spacer(Modifier.width(8.dp)) - Text("Select All", style = MaterialTheme.typography.bodyMedium, fontWeight = FontWeight.Medium) + Text(stringResource(R.string.select_all), style = MaterialTheme.typography.bodyMedium, fontWeight = FontWeight.Medium) } HorizontalDivider() diff --git a/amethyst/src/main/res/values/strings.xml b/amethyst/src/main/res/values/strings.xml index 07ea84d2d..e3c481298 100644 --- a/amethyst/src/main/res/values/strings.xml +++ b/amethyst/src/main/res/values/strings.xml @@ -1742,4 +1742,5 @@ No follows found Following %1$d accounts… "Enter the profile of a friend or community leader. You can use their npub, NIP-05 address, or a Namecoin name like alice@example.bit or id/alice for blockchain-verified identities." + Select All