mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 01:15:54 +03:00
Also add a way to hide the setting to the user
This commit is contained in:
parent
5cfcd65b38
commit
b12c890191
2 changed files with 5 additions and 2 deletions
|
@ -42,7 +42,9 @@
|
|||
|
||||
<!-- Default preference values -->
|
||||
|
||||
<!-- If set to true, bubbles will be enabled by default in the preference -->
|
||||
<!-- If set to true, bubbles setting will be visible to the user in the preference -->
|
||||
<bool name="settings_interface_bubble_visible">true</bool>
|
||||
<!-- If set to true, bubbles will be enabled by default -->
|
||||
<bool name="settings_interface_bubble_default">false</bool>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -85,7 +85,8 @@
|
|||
<im.vector.app.core.preference.VectorSwitchPreference
|
||||
android:defaultValue="@bool/settings_interface_bubble_default"
|
||||
android:key="SETTINGS_INTERFACE_BUBBLE_KEY"
|
||||
android:title="@string/message_bubbles" />
|
||||
android:title="@string/message_bubbles"
|
||||
app:isPreferenceVisible="@bool/settings_interface_bubble_visible" />
|
||||
|
||||
<im.vector.app.core.preference.VectorSwitchPreference
|
||||
android:defaultValue="true"
|
||||
|
|
Loading…
Reference in a new issue