New string resource

This commit is contained in:
Vitor Pamplona
2026-03-10 18:19:10 -04:00
parent a8d4705fa6
commit 7a3794eabb
2 changed files with 6 additions and 2 deletions
@@ -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()
+1
View File
@@ -1742,4 +1742,5 @@
<string name="no_follows_found">No follows found</string>
<string name="following_accounts">Following %1$d accounts…</string>
<string name="import_follows_tips">"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."</string>
<string name="select_all">Select All</string>
</resources>