From 0d10b1fc18f69f5dd8e2fabb9cd4f60fb96b0338 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Sun, 22 Sep 2019 09:49:26 +0200 Subject: [PATCH] fix build error --- .../main/java/com/keylesspalace/tusky/BottomSheetActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/BottomSheetActivity.kt b/app/src/main/java/com/keylesspalace/tusky/BottomSheetActivity.kt index 3c280336..e370ec70 100644 --- a/app/src/main/java/com/keylesspalace/tusky/BottomSheetActivity.kt +++ b/app/src/main/java/com/keylesspalace/tusky/BottomSheetActivity.kt @@ -25,7 +25,7 @@ import com.google.android.material.bottomsheet.BottomSheetBehavior import com.keylesspalace.tusky.network.MastodonApi import com.keylesspalace.tusky.util.LinkHelper import com.uber.autodispose.android.lifecycle.AndroidLifecycleScopeProvider -import com.uber.autodispose.autoDisposable +import com.uber.autodispose.autoDispose import io.reactivex.android.schedulers.AndroidSchedulers import java.net.URI import java.net.URISyntaxException @@ -72,7 +72,7 @@ abstract class BottomSheetActivity : BaseActivity() { query = url, resolve = true ).observeOn(AndroidSchedulers.mainThread()) - .autoDisposable(AndroidLifecycleScopeProvider.from(this, Lifecycle.Event.ON_DESTROY)) + .autoDispose(AndroidLifecycleScopeProvider.from(this, Lifecycle.Event.ON_DESTROY)) .subscribe({ (accounts, statuses) -> if (getCancelSearchRequested(url)) { return@subscribe