diff --git a/app/src/main/java/org/ntlab/radishforandroidstudio/CactusCleanArchitecture/Controller/InputUserPresenter.java b/app/src/main/java/org/ntlab/radishforandroidstudio/CactusCleanArchitecture/Controller/InputUserPresenter.java index 495fcc3..a42b6dc 100644 --- a/app/src/main/java/org/ntlab/radishforandroidstudio/CactusCleanArchitecture/Controller/InputUserPresenter.java +++ b/app/src/main/java/org/ntlab/radishforandroidstudio/CactusCleanArchitecture/Controller/InputUserPresenter.java @@ -15,7 +15,7 @@ public class InputUserPresenter implements UserLoginBoundary { private String userID; private String userPass; - FragmentActivity fragmentActivity; + private FragmentActivity fragmentActivity; public InputUserPresenter(FragmentActivity fragmentActivity, EditText userName, EditText passWord) { @@ -27,10 +27,8 @@ public void inputData() { if (userID.isEmpty()) { Toast.makeText(fragmentActivity, "ユーザー名が未記入です", Toast.LENGTH_SHORT).show(); - return; } else if (userPass.isEmpty()) { Toast.makeText(fragmentActivity, "パスワードが未記入です", Toast.LENGTH_SHORT).show(); - return; } }