Update PushProvider API, remove isAvailable(), but instead rely on getDistributors() to eventually return an empty list of Distributors.

This commit is contained in:
Benoit Marty 2024-06-17 17:22:11 +02:00 committed by Benoit Marty
parent 1f8b525548
commit f72fc36de8
8 changed files with 18 additions and 44 deletions

View file

@ -44,7 +44,6 @@ class DefaultPushService @Inject constructor(
override fun getAvailablePushProviders(): List<PushProvider> {
return pushProviders
.filter { it.isAvailable() }
.sortedBy { it.index }
}