mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 09:25:49 +03:00
Add visibility setting field for lab setting
This commit is contained in:
parent
3786bd9c65
commit
dd92bb756a
2 changed files with 4 additions and 2 deletions
|
@ -37,6 +37,7 @@
|
||||||
<bool name="settings_ignored_users_visible">true</bool>
|
<bool name="settings_ignored_users_visible">true</bool>
|
||||||
|
|
||||||
<!-- Level 1: Labs -->
|
<!-- Level 1: Labs -->
|
||||||
|
<bool name="settings_labs_deferred_dm_visible">true</bool>
|
||||||
<bool name="settings_labs_deferred_dm_default">true</bool>
|
<bool name="settings_labs_deferred_dm_default">true</bool>
|
||||||
<bool name="settings_labs_thread_messages_default">false</bool>
|
<bool name="settings_labs_thread_messages_default">false</bool>
|
||||||
<bool name="settings_labs_new_app_layout_default">true</bool>
|
<bool name="settings_labs_new_app_layout_default">true</bool>
|
||||||
|
|
|
@ -47,8 +47,8 @@
|
||||||
|
|
||||||
<im.vector.app.core.preference.VectorSwitchPreference
|
<im.vector.app.core.preference.VectorSwitchPreference
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
android:persistent="false"
|
|
||||||
android:key="SETTINGS_LABS_MSC3061_SHARE_KEYS_HISTORY"
|
android:key="SETTINGS_LABS_MSC3061_SHARE_KEYS_HISTORY"
|
||||||
|
android:persistent="false"
|
||||||
android:summary="@string/labs_enable_msc3061_share_history_desc"
|
android:summary="@string/labs_enable_msc3061_share_history_desc"
|
||||||
android:title="@string/labs_enable_msc3061_share_history" />
|
android:title="@string/labs_enable_msc3061_share_history" />
|
||||||
|
|
||||||
|
@ -93,6 +93,7 @@
|
||||||
android:defaultValue="@bool/settings_labs_deferred_dm_default"
|
android:defaultValue="@bool/settings_labs_deferred_dm_default"
|
||||||
android:key="SETTINGS_LABS_DEFERRED_DM_KEY"
|
android:key="SETTINGS_LABS_DEFERRED_DM_KEY"
|
||||||
android:summary="@string/labs_enable_deferred_dm_summary"
|
android:summary="@string/labs_enable_deferred_dm_summary"
|
||||||
android:title="@string/labs_enable_deferred_dm_title" />
|
android:title="@string/labs_enable_deferred_dm_title"
|
||||||
|
app:isPreferenceVisible="@bool/settings_labs_deferred_dm_visible" />
|
||||||
|
|
||||||
</androidx.preference.PreferenceScreen>
|
</androidx.preference.PreferenceScreen>
|
||||||
|
|
Loading…
Reference in a new issue