mirror of
https://github.com/vector-im/riotX-android
synced 2025-10-05 15:52:47 +02:00
Also add a way to hide the setting to the user
This commit is contained in:
committed by
Benoit Marty
parent
5cfcd65b38
commit
b12c890191
@@ -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"
|
||||
|
Reference in New Issue
Block a user