From 126aefacbf6f650c3dafe74b701c2b0cc54df6eb Mon Sep 17 00:00:00 2001 From: pandasoft0 Date: Thu, 9 May 2019 22:00:50 +0300 Subject: [PATCH] Update preferences library, remove unneeded "shouldDisableView" (#1254) --- app/build.gradle | 2 +- app/src/main/res/xml/account_preferences.xml | 12 +++--------- .../main/res/xml/notification_preferences.xml | 2 -- app/src/main/res/xml/preferences.xml | 16 ++++------------ .../main/res/xml/timeline_filter_preferences.xml | 1 - 5 files changed, 8 insertions(+), 25 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 17dc88aba..5d057823d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -95,7 +95,7 @@ dependencies { implementation 'com.google.android.material:material:1.1.0-alpha05' implementation 'androidx.exifinterface:exifinterface: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:converter-gson:2.5.0' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0' diff --git a/app/src/main/res/xml/account_preferences.xml b/app/src/main/res/xml/account_preferences.xml index 7898252dd..66f3e6108 100644 --- a/app/src/main/res/xml/account_preferences.xml +++ b/app/src/main/res/xml/account_preferences.xml @@ -18,9 +18,7 @@ android:key="blockedUsersPreference" android:title="@string/action_view_blocks" /> - + - + @@ -48,9 +44,7 @@ android:title="@string/pref_title_alway_show_sensitive_media" /> - + diff --git a/app/src/main/res/xml/notification_preferences.xml b/app/src/main/res/xml/notification_preferences.xml index 044b5b6b0..8bd044147 100644 --- a/app/src/main/res/xml/notification_preferences.xml +++ b/app/src/main/res/xml/notification_preferences.xml @@ -12,7 +12,6 @@ @@ -49,7 +48,6 @@ diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 1c930ca5e..d158569d6 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -2,9 +2,7 @@ - + - + - + - +