fix:修复发布动态上传失败后子线程回调更新UI导致崩溃问题
This commit is contained in:
@@ -133,6 +133,7 @@ public class PublishPresenter extends BaseMvpPresenter<IPublishView> {
|
||||
.flatMap((Function<String, SingleSource<String>>)
|
||||
path -> FileModel.get().uploadFile(path))
|
||||
.compose(bindUntilEvent(PresenterEvent.DESTROY))
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(new DontWarnObserver<String>() {
|
||||
@Override
|
||||
public void acceptThrowable(String url, Throwable throwable) {
|
||||
|
@@ -28,6 +28,6 @@ COMPILE_SDK_VERSION=32
|
||||
MIN_SDK_VERSION=21
|
||||
TARGET_SDK_VERSION=32
|
||||
|
||||
version_name=2.1.3
|
||||
version_code=2103
|
||||
version_name=2.1.4
|
||||
version_code=2104
|
||||
minify_enabled=false
|
Reference in New Issue
Block a user