Add a Remove Account section to the settings.
- Added a new section inside the Accounts card to the UI, to let the user remove the current account from the device.
This commit is contained in:
parent
70d5e3d4d2
commit
629c5ff82c
4 changed files with 21 additions and 0 deletions
|
@ -201,6 +201,22 @@
|
|||
android:layout_marginTop="@dimen/spacing_same_topic"
|
||||
android:text="@string/button__upgrade_to_ltm"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_different_topic"
|
||||
android:text="@string/msg__remove_current_account"
|
||||
android:textAppearance="@style/TextAppearance.Bitsy.Body1"/>
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnRemoveAccount"
|
||||
style="@style/Widget.Bitsy.Button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_same_topic"
|
||||
android:backgroundTint="@color/red"
|
||||
android:text="@string/button__remove"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
|
|
@ -142,6 +142,8 @@
|
|||
<string name="msg__account_upgraded">¡Felicidades! Tu cuenta ahora se ha actualizado a la membresía de por vida (LTM).</string>
|
||||
<string name="title__upgrade_account_error">Error al intentar actualizar la cuenta</string>
|
||||
<string name="msg__upgrade_account_error">Por favor, asegúrate de que tu cuenta tenga un balance suficiente para cubrir los costos.</string>
|
||||
<string name="msg__remove_current_account">Eliminar cuenta actual. Elimina la cuenta actual de éste dispositivo y crea o importa una diferente.</string>
|
||||
<string name="button__remove">Eliminar</string>
|
||||
<string name="title__bugs_or_ideas">Errores o Ideas?</string>
|
||||
<string name="msg__bugs_or_ideas">Telegram: https://t.me/Agorise\nKeybase: https://keybase.io/team/Agorise</string>
|
||||
<string name="title__bitshares_nodes_dialog">Bloque: %1$s</string>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<color name="colorStatusBarDark">#212121</color>
|
||||
|
||||
<color name="black">#000</color>
|
||||
<color name="red">#f00</color>
|
||||
<color name="gray">#888</color>
|
||||
<color name="ppGreen">#139657</color>
|
||||
<color name="lightGray">#aaa</color>
|
||||
|
|
|
@ -143,6 +143,8 @@
|
|||
<string name="msg__account_upgraded">Congratulations! Your account has now been upgraded to the Lifetime Membership.</string>
|
||||
<string name="title__upgrade_account_error">Error while trying to upgrade account</string>
|
||||
<string name="msg__upgrade_account_error">Please make sure your account has enough balance to cover the costs.</string>
|
||||
<string name="msg__remove_current_account">Remove the current Account. Remove the current Account from this device and create or import a different one.</string>
|
||||
<string name="button__remove">Remove</string>
|
||||
<string name="title__bugs_or_ideas">Bugs or Ideas?</string>
|
||||
<string name="msg__bugs_or_ideas">Telegram: https://t.me/Agorise\nKeybase: https://keybase.io/team/Agorise</string>
|
||||
<string name="title__bitshares_nodes_dialog">Block: %1$s</string>
|
||||
|
|
Loading…
Reference in a new issue