From 00aafa0b63988461b0a6275d621d605f89f48b15 Mon Sep 17 00:00:00 2001 From: Frank Knoll Date: Wed, 29 May 2024 10:31:37 +0200 Subject: [PATCH] using new version of SearchPreference library --- OsmAnd/build-common.gradle | 2 +- .../osmand/plus/settings/fragments/BaseSettingsFragment.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/build-common.gradle b/OsmAnd/build-common.gradle index 4f11d4ebb6e..0d20e84d269 100644 --- a/OsmAnd/build-common.gradle +++ b/OsmAnd/build-common.gradle @@ -386,7 +386,7 @@ dependencies { implementation "androidx.car.app:app-projected:1.2.0" implementation 'com.google.android.gms:play-services-location:21.0.1' - implementation 'com.github.KnollFrank:SearchPreference:3efb677edb' + implementation 'com.github.KnollFrank:SearchPreference:c830c54036' // https://mvnrepository.com/artifact/org.jgrapht/jgrapht-core implementation 'org.jgrapht:jgrapht-core:1.5.2' // https://mvnrepository.com/artifact/org.jgrapht/jgrapht-io diff --git a/OsmAnd/src/net/osmand/plus/settings/fragments/BaseSettingsFragment.java b/OsmAnd/src/net/osmand/plus/settings/fragments/BaseSettingsFragment.java index ddd7b4fd1ca..a522bd65eb5 100644 --- a/OsmAnd/src/net/osmand/plus/settings/fragments/BaseSettingsFragment.java +++ b/OsmAnd/src/net/osmand/plus/settings/fragments/BaseSettingsFragment.java @@ -48,7 +48,7 @@ import androidx.recyclerview.widget.RecyclerView; import com.bytehamster.lib.preferencesearch.BaseSearchPreferenceFragment; -import com.bytehamster.lib.preferencesearch.PreferenceFragmentHelper; +import com.bytehamster.lib.preferencesearch.PreferenceFragments; import com.bytehamster.lib.preferencesearch.PreferencesGraphProvider; import com.bytehamster.lib.preferencesearch.SearchConfiguration; import com.bytehamster.lib.preferencesearch.SearchPreference; @@ -403,7 +403,7 @@ private void setupSearchablePreferences() { } private Set> getPreferenceFragments(final PreferenceFragmentCompat root) { - return new PreferencesGraphProvider(new PreferenceFragmentHelper(getActivity(), FRAGMENT_CONTAINER_VIEW)) + return new PreferencesGraphProvider(new PreferenceFragments(getActivity(), FRAGMENT_CONTAINER_VIEW)) .getPreferencesGraph(root) .vertexSet() .stream()