diff --git a/src/musikdroid/app/src/main/java/io/casey/musikcube/remote/ui/albums/activity/AlbumBrowseActivity.kt b/src/musikdroid/app/src/main/java/io/casey/musikcube/remote/ui/albums/activity/AlbumBrowseActivity.kt index d1cb56672..42af09df1 100644 --- a/src/musikdroid/app/src/main/java/io/casey/musikcube/remote/ui/albums/activity/AlbumBrowseActivity.kt +++ b/src/musikdroid/app/src/main/java/io/casey/musikcube/remote/ui/albums/activity/AlbumBrowseActivity.kt @@ -79,15 +79,16 @@ class AlbumBrowseActivity : BaseActivity(), Filterable { } override fun setFilter(filter: String) { - lastFilter = filter - filterDebouncer.call(filter) + if (filter != lastFilter) { + lastFilter = filter + filterDebouncer.call(filter) + } } private fun initObservables() { disposables.add(data.provider.observeState().subscribeBy( onNext = { state -> if (state.first == IDataProvider.State.Connected) { - filterDebouncer.call() requery() } else {