Skip to content

Commit

Permalink
fix: [#126] the issue came from FragmentBalanceSeedReminder.fetchSeed…
Browse files Browse the repository at this point in the history
…Phrase, so we just wrap with runCatching for now to avoid crash (#263)
  • Loading branch information
andhikayuana authored Nov 12, 2024
1 parent 5b6f95e commit 30c446d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ class FragmentBalanceSeedReminder : Fragment() {
registerAnalyticsError("null_in_fragment_balance_fetch_seed")
}
else {
seedPhraseTextView.text = String(BRKeyStore.getPhrase(this.activity, 0)) ?: "NO_PHRASE"
seedPhraseTextView.text = runCatching { BRKeyStore.getPhrase(this.activity, 0) }
.getOrNull()?.decodeToString() ?: "NO_PHRASE"
}
}
private fun animateClose() {
Expand Down

0 comments on commit 30c446d

Please sign in to comment.