diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/res/values/defaults.xml | 1 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | src/main/res/xml/preferences.xml | 5 |
3 files changed, 8 insertions, 0 deletions
diff --git a/src/main/res/values/defaults.xml b/src/main/res/values/defaults.xml index 98509a48e..214dbe642 100644 --- a/src/main/res/values/defaults.xml +++ b/src/main/res/values/defaults.xml @@ -108,6 +108,7 @@ <string name="default_font_size">small</string> <bool name="start_searching">false</bool> <bool name="show_record_voice_btn">true</bool> + <bool name="quick_share_attachment_choice">true</bool> <string-array name="domains"> <item>pix-art.de</item> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 47a01d3c9..f5dabc615 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -810,4 +810,6 @@ <string name="no_location_permission">Pix-Art Messenger needs access to location services</string> <string name="pref_show_record_voice_btn_summary">Show record voice button in chats as quick action</string> <string name="pref_show_record_voice_btn">Show record voice button</string> + <string name="pref_use_quick_share_attachment_choice_summary">Replace send button with attachment choice if no message is typed. Otherwise show quick actions, which can be cofigured in the following setting.</string> + <string name="pref_quick_share_attachment_choice">Attachment choice</string> </resources> diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index 31ca6158b..b4edb7a34 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -38,6 +38,11 @@ android:key="presence_colored_names" android:summary="@string/pref_use_colored_names_to_indicate_status_summary" android:title="@string/pref_use_colored_names_to_indicate_status" /> + <CheckBoxPreference + android:defaultValue="@bool/quick_share_attachment_choice" + android:key="quick_share_attachment_choice" + android:summary="@string/pref_use_quick_share_attachment_choice_summary" + android:title="@string/pref_quick_share_attachment_choice" /> <ListPreference android:defaultValue="@string/quick_action" android:dialogTitle="@string/choose_quick_action" |