diff --git a/app/src/main/java/com/vultisig/wallet/ui/models/keygen/GeneratingKeyViewModel.kt b/app/src/main/java/com/vultisig/wallet/ui/models/keygen/GeneratingKeyViewModel.kt
index fb2705b14..a8de4498e 100644
--- a/app/src/main/java/com/vultisig/wallet/ui/models/keygen/GeneratingKeyViewModel.kt
+++ b/app/src/main/java/com/vultisig/wallet/ui/models/keygen/GeneratingKeyViewModel.kt
@@ -295,5 +295,8 @@ internal class GeneratingKeyViewModel(
}
private fun checkIsThresholdError(errorMessage: Exception) =
- errorMessage.message?.contains("threshold") == true
+ errorMessage.message?.let { message ->
+ message.contains("threshold") ||
+ message.contains("failed to update from bytes to new local party")
+ } ?: false
}
\ No newline at end of file
diff --git a/app/src/main/java/com/vultisig/wallet/ui/screens/keygen/GeneratingKey.kt b/app/src/main/java/com/vultisig/wallet/ui/screens/keygen/GeneratingKey.kt
index 6b632597e..4be417bfa 100644
--- a/app/src/main/java/com/vultisig/wallet/ui/screens/keygen/GeneratingKey.kt
+++ b/app/src/main/java/com/vultisig/wallet/ui/screens/keygen/GeneratingKey.kt
@@ -224,13 +224,13 @@ internal fun GeneratingKey(
verticalArrangement = Arrangement.Center,
horizontalAlignment = CenterHorizontally
) {
- if (keygenState.isThresholdError) {
- Image(
- painter = painterResource(id = R.drawable.danger),
- contentDescription = stringResource(R.string.danger_icon),
- alignment = Center
- )
- } else {
+ Image(
+ painter = painterResource(id = R.drawable.danger),
+ contentDescription = stringResource(R.string.danger_icon),
+ alignment = Center
+ )
+
+ if (!keygenState.isThresholdError) {
Text(
text = if (isReshare) {
stringResource(R.string.generating_key_screen_reshare_failed)
@@ -241,7 +241,9 @@ internal fun GeneratingKey(
style = Theme.menlo.heading5
)
}
+
Spacer(modifier = Modifier.height(10.dp))
+
Text(
text = keygenState.errorMessage.asString(),
color = textColor,
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index af4f60c85..dd39b0c5f 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -365,7 +365,7 @@
%1$s of %2$s
Start
Threshold not reached\nMissing enough initial devices
- Renew
+ Reshare
Create Folder
Folder Name
Create