Payments.

Co-authored-by: Alan Evans <alan@signal.org>
Co-authored-by: Alex Hart <alex@signal.org>
Co-authored-by: Cody Henthorne <cody@signal.org>
This commit is contained in:
Android Team
2021-04-06 13:03:33 -03:00
committed by Alan Evans
parent c42023855b
commit fddba2906a
311 changed files with 18956 additions and 235 deletions

View File

@@ -38,6 +38,12 @@
android:title="@string/preferences__linked_devices"
android:icon="@drawable/ic_linked_devices_24"/>
<org.thoughtcrime.securesms.preferences.widgets.PaymentsPreference
android:key="preference_category_payments"
android:title="@string/preferences__payments"
android:icon="@drawable/ic_payments_24"
app:isPreferenceVisible="false" />
<Preference android:key="preference_category_help"
android:title="@string/preferences__help"
android:icon="@drawable/ic_help_24" />

View File

@@ -1,6 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:key="internal_payments"
android:title="@string/preferences__internal_payments">
<Preference
android:defaultValue="false"
android:key="pref_copy_payments_data"
android:summary="@string/preferences__internal_payment_copy_data_description"
android:title="@string/preferences__internal_payment_copy_data" />
</PreferenceCategory>
<PreferenceCategory
android:key="internal_account"
android:title="@string/preferences__internal_account">
@@ -93,8 +105,7 @@
</PreferenceCategory>
<PreferenceCategory
android:title="@string/preferences__internal_network">
<PreferenceCategory android:title="@string/preferences__internal_network">
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
android:defaultValue="false"
@@ -104,13 +115,12 @@
</PreferenceCategory>
<PreferenceCategory
android:title="@string/preferences__internal_conversations_and_shortcuts">
<PreferenceCategory android:title="@string/preferences__internal_conversations_and_shortcuts">
<Preference
android:key="pref_delete_dynamic_shortcuts"
android:title="@string/preferences__internal_delete_all_dynamic_shortcuts"
android:summary="@string/preferences__internal_click_to_delete_all_dynamic_shortcuts" />
android:summary="@string/preferences__internal_click_to_delete_all_dynamic_shortcuts"
android:title="@string/preferences__internal_delete_all_dynamic_shortcuts" />
</PreferenceCategory>