Update preferences library, remove unneeded "shouldDisableView" (#1254)
This commit is contained in:
parent
5c61786e05
commit
126aefacbf
5 changed files with 8 additions and 25 deletions
|
@ -95,7 +95,7 @@ dependencies {
|
||||||
implementation 'com.google.android.material:material:1.1.0-alpha05'
|
implementation 'com.google.android.material:material:1.1.0-alpha05'
|
||||||
implementation 'androidx.exifinterface:exifinterface:1.0.0'
|
implementation 'androidx.exifinterface:exifinterface:1.0.0'
|
||||||
implementation 'androidx.cardview:cardview:1.0.0'
|
implementation 'androidx.cardview:cardview:1.0.0'
|
||||||
implementation 'androidx.preference:preference:1.1.0-alpha04'
|
implementation 'androidx.preference:preference:1.1.0-alpha05'
|
||||||
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
|
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
|
||||||
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
|
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
|
||||||
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
|
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
|
||||||
|
|
|
@ -18,9 +18,7 @@
|
||||||
android:key="blockedUsersPreference"
|
android:key="blockedUsersPreference"
|
||||||
android:title="@string/action_view_blocks" />
|
android:title="@string/action_view_blocks" />
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory android:title="@string/pref_publishing">
|
||||||
android:shouldDisableView="true"
|
|
||||||
android:title="@string/pref_publishing">
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:defaultValue="public"
|
android:defaultValue="public"
|
||||||
android:entries="@array/post_privacy_names"
|
android:entries="@array/post_privacy_names"
|
||||||
|
@ -36,9 +34,7 @@
|
||||||
android:title="@string/pref_default_media_sensitivity" />
|
android:title="@string/pref_default_media_sensitivity" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory android:title="@string/pref_title_timelines">
|
||||||
android:shouldDisableView="true"
|
|
||||||
android:title="@string/pref_title_timelines">
|
|
||||||
<SwitchPreferenceCompat
|
<SwitchPreferenceCompat
|
||||||
android:key="mediaPreviewEnabled"
|
android:key="mediaPreviewEnabled"
|
||||||
android:title="@string/pref_title_show_media_preview" />
|
android:title="@string/pref_title_show_media_preview" />
|
||||||
|
@ -48,9 +44,7 @@
|
||||||
android:title="@string/pref_title_alway_show_sensitive_media" />
|
android:title="@string/pref_title_alway_show_sensitive_media" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory android:title="@string/pref_title_timeline_filters">
|
||||||
android:shouldDisableView="true"
|
|
||||||
android:title="@string/pref_title_timeline_filters">
|
|
||||||
<Preference
|
<Preference
|
||||||
android:key="publicFilters"
|
android:key="publicFilters"
|
||||||
android:title="@string/pref_title_public_filter_keywords" />
|
android:title="@string/pref_title_public_filter_keywords" />
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:dependency="notificationsEnabled"
|
android:dependency="notificationsEnabled"
|
||||||
android:shouldDisableView="true"
|
|
||||||
android:title="@string/pref_title_notification_filters"
|
android:title="@string/pref_title_notification_filters"
|
||||||
app:iconSpaceReserved="false">
|
app:iconSpaceReserved="false">
|
||||||
|
|
||||||
|
@ -49,7 +48,6 @@
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:dependency="notificationsEnabled"
|
android:dependency="notificationsEnabled"
|
||||||
android:shouldDisableView="true"
|
|
||||||
android:title="@string/pref_title_notification_alerts"
|
android:title="@string/pref_title_notification_alerts"
|
||||||
app:iconSpaceReserved="false">
|
app:iconSpaceReserved="false">
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:key="@string/preferences_file_key">
|
android:key="@string/preferences_file_key">
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory android:title="@string/pref_title_appearance_settings">
|
||||||
android:shouldDisableView="true"
|
|
||||||
android:title="@string/pref_title_appearance_settings">
|
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:defaultValue="night"
|
android:defaultValue="night"
|
||||||
|
@ -53,9 +51,7 @@
|
||||||
android:title="@string/pref_title_bot_overlay" />
|
android:title="@string/pref_title_bot_overlay" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory android:title="@string/pref_title_browser_settings">
|
||||||
android:shouldDisableView="true"
|
|
||||||
android:title="@string/pref_title_browser_settings">
|
|
||||||
|
|
||||||
<SwitchPreferenceCompat
|
<SwitchPreferenceCompat
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
|
@ -63,18 +59,14 @@
|
||||||
android:title="@string/pref_title_custom_tabs" />
|
android:title="@string/pref_title_custom_tabs" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory android:title="@string/pref_title_status_filter">
|
||||||
android:shouldDisableView="true"
|
|
||||||
android:title="@string/pref_title_status_filter">
|
|
||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
android:key="timelineFilterPreferences"
|
android:key="timelineFilterPreferences"
|
||||||
android:title="@string/pref_title_status_tabs" />
|
android:title="@string/pref_title_status_tabs" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory android:title="@string/pref_title_proxy_settings">
|
||||||
android:shouldDisableView="true"
|
|
||||||
android:title="@string/pref_title_proxy_settings">
|
|
||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
android:key="httpProxyPreferences"
|
android:key="httpProxyPreferences"
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
android:title="@string/pref_title_status_tabs">
|
android:title="@string/pref_title_status_tabs">
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:shouldDisableView="true"
|
|
||||||
android:title="@string/title_home"
|
android:title="@string/title_home"
|
||||||
app:iconSpaceReserved="false">
|
app:iconSpaceReserved="false">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue