fix: extract hard-coded string

This commit is contained in:
Harsh Shandilya 2023-03-24 13:30:14 +05:30
parent 29eaa09427
commit 73de8ba267
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -45,7 +45,7 @@ fun KeyList(
painter = painterResource(id = R.drawable.ic_launcher_foreground),
contentDescription = "Password Store logo"
)
Text("Import a key using the add button below")
Text(stringResource(R.string.pgp_key_manager_no_keys_guidance))
}
} else {
LazyColumn(modifier = modifier) {

View file

@ -368,4 +368,5 @@
<string name="activity_label_pgp_key_manager">PGP Key Manager</string>
<string name="pgp_key_manager_delete_confirmation_dialog_title">Delete key?</string>
<string name="git_utils_reset_remote_branch_title">Remote branch name</string>
<string name="pgp_key_manager_no_keys_guidance">Import a key using the add button below</string>
</resources>