Commit 4027d0c7 authored by fallenstardust's avatar fallenstardust

如果登录失败则重置按钮状态

parent baef4813
......@@ -140,7 +140,8 @@ public class DeckSquareMyDeckFragment extends Fragment {
Log.e(TAG, e + "");
LogUtil.i(TAG, "login fail");
binding.llMainUi.setVisibility(View.GONE);
progressBar.setVisibility(View.GONE);
btnLogin.setEnabled(true);
}).done((result) -> {
if (result != null) {
LogUtil.i(TAG, "login done");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment