From 1e80959db6e4d3b84948987cc7611d25f3dae65e Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 3 Apr 2024 11:19:10 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E5=8A=A8=E6=80=81=E4=B8=8A=E4=BC=A0=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E5=90=8E=E5=AD=90=E7=BA=BF=E7=A8=8B=E5=9B=9E=E8=B0=83=E6=9B=B4?= =?UTF-8?q?=E6=96=B0UI=E5=AF=BC=E8=87=B4=E5=B4=A9=E6=BA=83=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/community/publish/presenter/PublishPresenter.java | 1 + gradle.properties | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/module_community/java/com/nnbc123/app/community/publish/presenter/PublishPresenter.java b/app/src/module_community/java/com/nnbc123/app/community/publish/presenter/PublishPresenter.java index eeeb6c62a..bd82b28c8 100644 --- a/app/src/module_community/java/com/nnbc123/app/community/publish/presenter/PublishPresenter.java +++ b/app/src/module_community/java/com/nnbc123/app/community/publish/presenter/PublishPresenter.java @@ -133,6 +133,7 @@ public class PublishPresenter extends BaseMvpPresenter { .flatMap((Function>) path -> FileModel.get().uploadFile(path)) .compose(bindUntilEvent(PresenterEvent.DESTROY)) + .observeOn(AndroidSchedulers.mainThread()) .subscribe(new DontWarnObserver() { @Override public void acceptThrowable(String url, Throwable throwable) { diff --git a/gradle.properties b/gradle.properties index 39ffaac34..23e253f9f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 \ No newline at end of file