Skip to content
Snippets Groups Projects
Verified Commit d3f88ec6 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixes #45

parent b4d277d1
No related branches found
No related tags found
No related merge requests found
......@@ -60,16 +60,19 @@
<android.support.v7.widget.SwitchCompat
android:id="@+id/show_search"
style="@style/Widget.CoreSettings.PrimaryItemSwitch"
android:checked="true"
android:text="@string/settings_chatlist_show_search" />
<android.support.v7.widget.SwitchCompat
android:id="@+id/sort_alphabetically"
style="@style/Widget.CoreSettings.PrimaryItemSwitch"
android:checked="true"
android:text="@string/settings_chatlist_sort_alphabetically" />
<android.support.v7.widget.SwitchCompat
android:id="@+id/add_new_buffers_automatically"
style="@style/Widget.CoreSettings.PrimaryItemSwitch"
android:checked="true"
android:text="@string/settings_chatlist_add_new_buffers_automatically" />
</LinearLayout>
......@@ -99,6 +102,7 @@
<android.support.v7.widget.SwitchCompat
android:id="@+id/show_status_buffer"
style="@style/Widget.CoreSettings.PrimaryItemSwitch"
android:checked="true"
android:text="@string/settings_chatlist_show_status_buffer" />
</LinearLayout>
......@@ -123,11 +127,13 @@
<android.support.v7.widget.SwitchCompat
android:id="@+id/show_channels"
style="@style/Widget.CoreSettings.PrimaryItemSwitch"
android:checked="true"
android:text="@string/settings_chatlist_show_channels" />
<android.support.v7.widget.SwitchCompat
android:id="@+id/show_queries"
style="@style/Widget.CoreSettings.PrimaryItemSwitch"
android:checked="true"
android:text="@string/settings_chatlist_show_queries" />
</LinearLayout>
......
......@@ -101,8 +101,8 @@ class BufferViewConfig constructor(
_hideInactiveBuffers = properties["hideInactiveBuffers"].valueOr(this::hideInactiveBuffers)
_hideInactiveNetworks = properties["hideInactiveNetworks"].valueOr(this::hideInactiveNetworks)
_disableDecoration = properties["disableDecoration"].valueOr(this::disableDecoration)
_allowedBufferTypes = properties["allowedBufferTypes"].valueOr(this::allowedBufferTypes)
_minimumActivity = properties["minimumActivity"].valueOr(this::minimumActivity)
_allowedBufferTypes = Buffer_Type.of(properties["allowedBufferTypes"].value(_allowedBufferTypes.value.toInt()).toShort())
_minimumActivity = Buffer_Activity.of(properties["minimumActivity"].value(_minimumActivity.value))
_showSearch = properties["showSearch"].valueOr(this::showSearch)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment