diff --git a/app/build.gradle b/app/build.gradle index 2afe007b..ff74fdaf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ android { applicationId "jp.juggler.subwaytooter" minSdkVersion 21 targetSdkVersion 26 - versionCode 170 - versionName "1.7.0" + versionCode 171 + versionName "1.7.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/jp/juggler/subwaytooter/ActPost.java b/app/src/main/java/jp/juggler/subwaytooter/ActPost.java index 1198100a..c7b08b1c 100644 --- a/app/src/main/java/jp/juggler/subwaytooter/ActPost.java +++ b/app/src/main/java/jp/juggler/subwaytooter/ActPost.java @@ -1026,8 +1026,13 @@ public class ActPost extends AppCompatActivity implements View.OnClickListener, return isCancelled(); } - @Override public void publishApiProgress( String s ){ - progress.setMessage( s ); + @Override public void publishApiProgress( final String s ){ + Utils.runOnMainThread( new Runnable() { + @Override public void run(){ + progress.setMessage( s ); + } + } ); + } } ); client.setAccount( target_account );