From 905c63242ba6d80caece6c18b2b867cb300bbe7b Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Fri, 6 Jan 2023 11:43:10 -0300 Subject: [wallet] Allow to restrict coins to age when withdrawing #0007352 --- .../main/res/layout/fragment_prompt_withdraw.xml | 36 +++++++++++++++++++++- wallet/src/main/res/layout/list_item_age.xml | 26 ++++++++++++++++ wallet/src/main/res/values/strings.xml | 2 ++ 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 wallet/src/main/res/layout/list_item_age.xml (limited to 'wallet/src/main/res') diff --git a/wallet/src/main/res/layout/fragment_prompt_withdraw.xml b/wallet/src/main/res/layout/fragment_prompt_withdraw.xml index 372163b..03e7d1a 100644 --- a/wallet/src/main/res/layout/fragment_prompt_withdraw.xml +++ b/wallet/src/main/res/layout/fragment_prompt_withdraw.xml @@ -152,7 +152,7 @@ android:textSize="24sp" android:visibility="invisible" app:layout_constrainedWidth="true" - app:layout_constraintBottom_toTopOf="@+id/withdrawCard" + app:layout_constraintBottom_toTopOf="@+id/ageLabel" app:layout_constraintEnd_toStartOf="@+id/selectExchangeButton" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintStart_toStartOf="parent" @@ -176,6 +176,40 @@ app:tint="?attr/colorOnPrimary" tools:visibility="visible" /> + + + + + + diff --git a/wallet/src/main/res/values/strings.xml b/wallet/src/main/res/values/strings.xml index eb15021..0595fa0 100644 --- a/wallet/src/main/res/values/strings.xml +++ b/wallet/src/main/res/values/strings.xml @@ -156,6 +156,8 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card Withdrawal Withdraw Fee + Restrict Usage to Age + Unrestricted Exchange Confirm Withdraw Confirm with bank -- cgit v1.2.3