Add setting to show/hide notification filter bar (#1314)

* Add setting to show/hide notification filter bar tuskyapp/Tusky#1306

* Remove not required requestLayout

* Fix notifications reload issue
This commit is contained in:
pandasoft0 2019-06-11 17:41:15 +03:00 committed by Konrad Pozniak
commit ce501f24e6
3 changed files with 88 additions and 40 deletions

View file

@ -55,6 +55,12 @@
android:defaultValue="false"
android:key="animateGifAvatars"
android:title="@string/pref_title_animate_gif_avatars" />
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="showNotificationsFilter"
android:title="@string/pref_title_show_notifications_filter" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_title_browser_settings">