Add ability to only show names when necessary

This commit is contained in:
Michael Schättgen 2023-08-21 00:24:10 +02:00
parent 6009c09607
commit edb1d8d76f
7 changed files with 39 additions and 1 deletions

View file

@ -43,6 +43,8 @@
<string name="pref_code_group_size_title">Code digit grouping</string>
<string name="pref_code_group_size_summary">Select number of digits to group codes by</string>
<string name="pref_account_name_position_title">Show the account name</string>
<string name="pref_shared_issuer_account_name_title">Only show account name when necessary</string>
<string name="pref_shared_issuer_account_name_summary">Only show account names whenever they share the same issuer. Other account names will be hidden.</string>
<string name="pref_import_file_title">Import from file</string>
<string name="pref_import_file_summary">Import tokens from a file</string>
<string name="pref_android_backups_title">Android cloud backups</string>

View file

@ -51,6 +51,13 @@
android:title="@string/pref_account_name_position_title"
app:iconSpaceReserved="false"/>
<androidx.preference.SwitchPreferenceCompat
android:defaultValue="false"
android:key="pref_shared_issuer_account_name"
android:title="@string/pref_shared_issuer_account_name_title"
android:summary="@string/pref_shared_issuer_account_name_summary"
app:iconSpaceReserved="false"/>
<Preference
android:key="pref_groups"
android:title="@string/preference_manage_groups"