mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-28 04:34:21 +01:00
Implement ShortcutInfo for API 30.
This commit is contained in:
@@ -2386,6 +2386,9 @@
|
||||
<string name="preferences__internal_network" translatable="false">Network</string>
|
||||
<string name="preferences__internal_force_censorship" translatable="false">Force censorship</string>
|
||||
<string name="preferences__internal_force_censorship_description" translatable="false">Force the app to behave as if it is in a country where Signal is censored.</string>
|
||||
<string name="preferences__internal_conversations_and_shortcuts">Conversations and Shortcuts</string>
|
||||
<string name="preferences__internal_delete_all_dynamic_shortcuts">Delete all dynamic shortcuts</string>
|
||||
<string name="preferences__internal_click_to_delete_all_dynamic_shortcuts">Click to delete all dynamic shortcuts</string>
|
||||
|
||||
<!-- **************************************** -->
|
||||
<!-- menus -->
|
||||
|
||||
@@ -104,4 +104,25 @@
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/preferences__internal_network">
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="internal.force_censorship"
|
||||
android:summary="@string/preferences__internal_force_censorship_description"
|
||||
android:title="@string/preferences__internal_force_censorship" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<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" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user