Updated on 2026-08-14
This commit is contained in:
parent
7cf462453b
commit
09a0702485
74 changed files with 682 additions and 728 deletions
|
|
@ -19,9 +19,9 @@ class NfcEnableDialog : DialogFragment() {
|
|||
val builder = context?.let { AlertDialog.Builder(it) }
|
||||
builder?.setCancelable(false)
|
||||
?.setIcon(R.drawable.ic_action_nfc_gray)
|
||||
?.setTitle(R.string.nfc_disabled)
|
||||
?.setMessage(R.string.enable_nfc)
|
||||
?.setPositiveButton(R.string.dialog_ok
|
||||
?.setTitle(R.string.dialog_nfc_enable_title)
|
||||
?.setMessage(R.string.dialog_nfc_enable_text)
|
||||
?.setPositiveButton(R.string.general_ok
|
||||
) { _, _ ->
|
||||
activity?.startActivity(Intent(Settings.ACTION_NFC_SETTINGS))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<resources>
|
||||
|
||||
<string name="app_name">tangemcard</string>
|
||||
<string name="dialog_ok">OK</string>
|
||||
<string name="general_ok">OK</string>
|
||||
<string name="dialog_quit">Quit</string>
|
||||
<string name="nfc_disabled">Enable NFC?</string>
|
||||
<string name="enable_nfc">This app is useless when NFC is disabled. Reader mode depends on it. Hit OK to go to Settings, where you can enable NFC.</string>
|
||||
<string name="dialog_nfc_enable_title">Enable NFC?</string>
|
||||
<string name="dialog_nfc_enable_text">This app is useless when NFC is disabled. Reader mode depends on it. Hit OK to go to Settings, where you can enable NFC.</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue