Skip to content

Commit

Permalink
using new version of SearchPreference library
Browse files Browse the repository at this point in the history
  • Loading branch information
KnollFrank committed May 29, 2024
1 parent d585683 commit 00aafa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OsmAnd/build-common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -403,7 +403,7 @@ private void setupSearchablePreferences() {
}

private Set<Class<? extends PreferenceFragmentCompat>> 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()
Expand Down

0 comments on commit 00aafa0

Please sign in to comment.