1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

App | Naming | Do not mention "mnemonic", mention "recovery phrase" (#2227)

This commit is contained in:
Evgenii Kozlov 2022-05-04 14:51:47 +03:00 committed by GitHub
parent be61a1b529
commit 1bbd95884c
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -79,9 +79,9 @@ class DashboardMnemonicReminderDialog : BottomSheetDialogFragment(), Observer<Vi
val clipboard = requireContext().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
val clip = ClipData.newPlainText(MNEMONIC_LABEL, binding.keychain.text.toString())
clipboard.setPrimaryClip(clip)
toast("Mnemonic copied to clipboard.")
toast("Recovery phrase copied to clipboard.")
} catch (e: Exception) {
toast("Could not copy your mnemonic. Please try again later, or copy it manually.")
toast("Could not copy your recovery phrase. Please try again later, or copy it manually.")
}
}

View file

@ -52,7 +52,7 @@ class KeychainPhraseDialog : BaseBottomSheetFragment<DialogKeychainPhraseBinding
val clipboard = requireContext().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
val clip = ClipData.newPlainText(MNEMONIC_LABEL, binding.keychain.text.toString())
clipboard.setPrimaryClip(clip)
toast("Mnemonic copied to clipboard.")
toast("Recovery phrase copied to clipboard.")
} catch (e: Exception) {
toast("Could not copy your mnemonic. Please try again later, or copy it manually.")
}