diff --git a/app/src/main/java/com/tangem/tap/features/wallet/ui/PayIdDialog.kt b/app/src/main/java/com/tangem/tap/features/wallet/ui/PayIdDialog.kt index ace5406826..641504a3ae 100644 --- a/app/src/main/java/com/tangem/tap/features/wallet/ui/PayIdDialog.kt +++ b/app/src/main/java/com/tangem/tap/features/wallet/ui/PayIdDialog.kt @@ -27,7 +27,8 @@ class PayIdDialog(context: Context) : Dialog(context) { if (this.et_payid.text.isNullOrBlank()) { store.dispatch(WalletAction.CreatePayId.EmptyField) } else { - val payid = this.et_payid.text!!.toString() + "\$payid.tangem.com" + val payid = this.et_payid.text!!.toString() + + this.context.getString(R.string.wallet_pay_id_address) store.dispatch(WalletAction.CreatePayId.CompleteCreatingPayId(payid)) } } diff --git a/app/src/main/res/layout/dialog_create_payid.xml b/app/src/main/res/layout/dialog_create_payid.xml index 0029635909..590c511679 100644 --- a/app/src/main/res/layout/dialog_create_payid.xml +++ b/app/src/main/res/layout/dialog_create_payid.xml @@ -31,7 +31,7 @@ android:layout_height="wrap_content" android:layout_marginStart="24dp" android:layout_marginTop="32dp" - android:hint="PayID name" + android:hint="@string/wallet_dialog_pay_id_hint" android:textColorHint="@color/darkGray1" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tv_dialog_create_payid"> @@ -51,7 +51,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingTop="12dp" - android:text="$payid.tangem.com" + android:text="@string/wallet_pay_id_address" android:textColor="@color/darkGray4" android:textSize="13sp" app:layout_constraintBottom_toBottomOf="@id/til_payid" @@ -64,7 +64,7 @@ android:layout_marginTop="24dp" android:paddingStart="24dp" android:paddingEnd="24dp" - android:text="Your PayID is information unique to you, like your phone number, email or ABN." + android:text="@string/wallet_dialog_pay_id_description" android:textColor="@color/darkGray4" android:textSize="13sp" app:layout_constraintEnd_toEndOf="parent" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ffc03b87eb..97438f0217 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -22,6 +22,10 @@ Create PayID Enter desired PayID first + PayID name + $payid.tangem.com + Your PayID is information unique to you, like your phone number, email or ABN. + This PayID already exists. Try a different one. Error response while creating PayID.