对话框优化

pull/5/head
fengyuecanzhu 4 years ago
parent 36c30626a9
commit 0c3cf6bd9e
  1. 9
      app/src/main/java/xyz/fycz/myreader/ui/activity/SplashActivity.java

@ -201,15 +201,18 @@ public class SplashActivity extends BaseActivity {
if (BookGroupService.getInstance().curGroupIsPrivate()) {
App.runOnUiThread(() -> {
MyAlertDialog.showPrivateVerifyDia(SplashActivity.this, needGoTo -> {
(new Thread(start)).start();
if (!hasStart)
(new Thread(start)).start();
}, () -> {
SharedPreUtils.getInstance().putString(SplashActivity.this.getString(R.string.curBookGroupId), "");
SharedPreUtils.getInstance().putString(SplashActivity.this.getString(R.string.curBookGroupName), "");
(new Thread(start)).start();
if (!hasStart)
(new Thread(start)).start();
});
});
} else {
(new Thread(start)).start();
if (!hasStart)
(new Thread(start)).start();
}
}
}

Loading…
Cancel
Save