Change default settings
- threaded messages off - enable new session manager - enable IP recording
This commit is contained in:
parent
fd2420211c
commit
4ef107de8d
|
@ -39,15 +39,15 @@
|
||||||
<!-- Level 1: Labs -->
|
<!-- Level 1: Labs -->
|
||||||
<bool name="settings_labs_deferred_dm_visible">true</bool>
|
<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">true</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>
|
||||||
<bool name="settings_labs_hide_shields_default">true</bool>
|
<bool name="settings_labs_hide_shields_default">true</bool>
|
||||||
<bool name="settings_labs_new_session_manager_default">false</bool>
|
<bool name="settings_labs_new_session_manager_default">true</bool>
|
||||||
<bool name="settings_labs_new_session_manager_visible">true</bool>
|
<bool name="settings_labs_new_session_manager_visible">true</bool>
|
||||||
<bool name="settings_labs_client_info_recording_default">false</bool>
|
<bool name="settings_labs_client_info_recording_default">true</bool>
|
||||||
<bool name="settings_labs_client_info_recording_visible">true</bool>
|
<bool name="settings_labs_client_info_recording_visible">true</bool>
|
||||||
<bool name="settings_timeline_show_live_sender_info_visible">true</bool>
|
<bool name="settings_timeline_show_live_sender_info_visible">true</bool>
|
||||||
<bool name="settings_timeline_show_live_sender_info_default">false</bool>
|
<bool name="settings_timeline_show_live_sender_info_default">true</bool>
|
||||||
<bool name="settings_labs_rich_text_editor_visible">true</bool>
|
<bool name="settings_labs_rich_text_editor_visible">true</bool>
|
||||||
<bool name="settings_labs_rich_text_editor_default">false</bool>
|
<bool name="settings_labs_rich_text_editor_default">false</bool>
|
||||||
<bool name="settings_labs_enable_voice_broadcast_visible">true</bool>
|
<bool name="settings_labs_enable_voice_broadcast_visible">true</bool>
|
||||||
|
@ -59,6 +59,6 @@
|
||||||
<!-- Level 1: Legals -->
|
<!-- Level 1: Legals -->
|
||||||
|
|
||||||
<!-- Level 3: Security & Privacy, Sessions -->
|
<!-- Level 3: Security & Privacy, Sessions -->
|
||||||
<bool name="settings_session_manager_show_ip_address">false</bool>
|
<bool name="settings_session_manager_show_ip_address">true</bool>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<!-- It is the push gateway for UnifiedPush -->
|
<!-- It is the push gateway for UnifiedPush -->
|
||||||
<string name="default_push_gateway_http_url" translatable="false">https://matrix.gateway.unifiedpush.org/_matrix/push/v1/notify</string>
|
<string name="default_push_gateway_http_url" translatable="false">https://matrix.gateway.unifiedpush.org/_matrix/push/v1/notify</string>
|
||||||
<!-- Note: pusher_app_id cannot exceed 64 chars -->
|
<!-- Note: pusher_app_id cannot exceed 64 chars -->
|
||||||
<string name="pusher_app_id" translatable="false">im.vector.app.android</string>
|
<string name="pusher_app_id" translatable="false">net.oranki.volfram</string>
|
||||||
|
|
||||||
<!-- preferred jitsi domain -->
|
<!-- preferred jitsi domain -->
|
||||||
<string name="preferred_jitsi_domain" translatable="false">meet.element.io</string>
|
<string name="preferred_jitsi_domain" translatable="false">meet.element.io</string>
|
||||||
|
|
|
@ -1126,7 +1126,7 @@ class VectorPreferences @Inject constructor(
|
||||||
* Indicates whether or not thread messages are enabled.
|
* Indicates whether or not thread messages are enabled.
|
||||||
*/
|
*/
|
||||||
fun areThreadMessagesEnabled(): Boolean {
|
fun areThreadMessagesEnabled(): Boolean {
|
||||||
return defaultPrefs.getBoolean(SETTINGS_LABS_ENABLE_THREAD_MESSAGES, getDefault(R.bool.settings_labs_thread_messages_default))
|
return defaultPrefs.getBoolean(SETTINGS_LABS_ENABLE_THREAD_MESSAGES, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1144,7 +1144,7 @@ class VectorPreferences @Inject constructor(
|
||||||
* Should be removed when Threads flag will be removed
|
* Should be removed when Threads flag will be removed
|
||||||
*/
|
*/
|
||||||
fun wasThreadFlagChangedManually(): Boolean {
|
fun wasThreadFlagChangedManually(): Boolean {
|
||||||
return defaultPrefs.getBoolean(SETTINGS_LABS_THREAD_MESSAGES_CHANGED_BY_USER, false)
|
return defaultPrefs.getBoolean(SETTINGS_LABS_THREAD_MESSAGES_CHANGED_BY_USER, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1238,18 +1238,18 @@ class VectorPreferences @Inject constructor(
|
||||||
* Indicates whether or not new session manager screens are enabled.
|
* Indicates whether or not new session manager screens are enabled.
|
||||||
*/
|
*/
|
||||||
fun isNewSessionManagerEnabled(): Boolean {
|
fun isNewSessionManagerEnabled(): Boolean {
|
||||||
return defaultPrefs.getBoolean(SETTINGS_LABS_NEW_SESSION_MANAGER_KEY, getDefault(R.bool.settings_labs_new_session_manager_default))
|
return defaultPrefs.getBoolean(SETTINGS_LABS_NEW_SESSION_MANAGER_KEY, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates whether or not client info recording is enabled.
|
* Indicates whether or not client info recording is enabled.
|
||||||
*/
|
*/
|
||||||
fun isClientInfoRecordingEnabled(): Boolean {
|
fun isClientInfoRecordingEnabled(): Boolean {
|
||||||
return defaultPrefs.getBoolean(SETTINGS_LABS_CLIENT_INFO_RECORDING_KEY, getDefault(R.bool.settings_labs_client_info_recording_default))
|
return defaultPrefs.getBoolean(SETTINGS_LABS_CLIENT_INFO_RECORDING_KEY, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun showLiveSenderInfo(): Boolean {
|
fun showLiveSenderInfo(): Boolean {
|
||||||
return defaultPrefs.getBoolean(SETTINGS_TIMELINE_SHOW_LIVE_SENDER_INFO, getDefault(R.bool.settings_timeline_show_live_sender_info_default))
|
return defaultPrefs.getBoolean(SETTINGS_TIMELINE_SHOW_LIVE_SENDER_INFO, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun isRichTextEditorEnabled(): Boolean {
|
fun isRichTextEditorEnabled(): Boolean {
|
||||||
|
@ -1262,7 +1262,7 @@ class VectorPreferences @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
fun showIpAddressInSessionManagerScreens(): Boolean {
|
fun showIpAddressInSessionManagerScreens(): Boolean {
|
||||||
return defaultPrefs.getBoolean(SETTINGS_SESSION_MANAGER_SHOW_IP_ADDRESS, getDefault(R.bool.settings_session_manager_show_ip_address))
|
return defaultPrefs.getBoolean(SETTINGS_SESSION_MANAGER_SHOW_IP_ADDRESS, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun setIpAddressVisibilityInDeviceManagerScreens(isVisible: Boolean) {
|
fun setIpAddressVisibilityInDeviceManagerScreens(isVisible: Boolean) {
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
android:title="@string/settings_rageshake">
|
android:title="@string/settings_rageshake">
|
||||||
|
|
||||||
<im.vector.app.core.preference.VectorSwitchPreference
|
<im.vector.app.core.preference.VectorSwitchPreference
|
||||||
android:defaultValue="true"
|
android:defaultValue="false"
|
||||||
android:key="SETTINGS_USE_RAGE_SHAKE_KEY"
|
android:key="SETTINGS_USE_RAGE_SHAKE_KEY"
|
||||||
android:title="@string/send_bug_report_rage_shake" />
|
android:title="@string/send_bug_report_rage_shake" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue