diff --git a/app/src/main/java/com/example/citrusclient/views/SettingsFragment.java b/app/src/main/java/com/example/citrusclient/views/SettingsFragment.java index d7ed1bf..f72a7c2 100644 --- a/app/src/main/java/com/example/citrusclient/views/SettingsFragment.java +++ b/app/src/main/java/com/example/citrusclient/views/SettingsFragment.java @@ -282,6 +282,8 @@ String nowpass = NowPassEditable.toString().trim(); String newUsername = NewIdEditable.toString().trim(); + citrus.setAccountId(newUsername); + settingsViewModel.changeAccount(accountId, newUsername, nowpass, token); //SettingsViewModelを呼ぶ } }