From 73de8ba26776cf71063a95dac6ea22acea088116 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 24 Mar 2023 13:30:14 +0530 Subject: fix: extract hard-coded string --- app/src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt | 2 +- app/src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt b/app/src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt index e7702a91..a67d0f32 100644 --- a/app/src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt +++ b/app/src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt @@ -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) { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index db2be860..89ce628b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -368,4 +368,5 @@ PGP Key Manager Delete key? Remote branch name + Import a key using the add button below -- cgit v1.2.3