mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Refactor and improve attachment deduping logic.
This commit is contained in:
committed by
Cody Henthorne
parent
b7ee6bfcb3
commit
6df1a68213
@@ -64,11 +64,6 @@ public final class StickerSearchRepository {
|
||||
return out;
|
||||
}
|
||||
|
||||
public @NonNull Single<Boolean> getStickerFeatureAvailability() {
|
||||
return Single.fromCallable(this::getStickerFeatureAvailabilitySync)
|
||||
.observeOn(Schedulers.io());
|
||||
}
|
||||
|
||||
public void getStickerFeatureAvailability(@NonNull Callback<Boolean> callback) {
|
||||
SignalExecutors.BOUNDED.execute(() -> {
|
||||
callback.onResult(getStickerFeatureAvailabilitySync());
|
||||
|
||||
Reference in New Issue
Block a user