feat: use correct title for confirmLogOut dialog
This commit is contained in:
parent
6881651ce7
commit
443a69b10d
|
@ -125,7 +125,8 @@ public class AccountSwitcherSheet extends BottomSheet{
|
||||||
private void confirmLogOut(String accountID){
|
private void confirmLogOut(String accountID){
|
||||||
AccountSession session=AccountSessionManager.getInstance().getAccount(accountID);
|
AccountSession session=AccountSessionManager.getInstance().getAccount(accountID);
|
||||||
new M3AlertDialogBuilder(activity)
|
new M3AlertDialogBuilder(activity)
|
||||||
.setMessage(activity.getString(R.string.confirm_log_out, session.getFullUsername()))
|
.setTitle(R.string.log_out)
|
||||||
|
.setMessage(activity.getString(R.string.confirm_log_out))
|
||||||
.setPositiveButton(R.string.log_out, (dialog, which) -> logOut(accountID))
|
.setPositiveButton(R.string.log_out, (dialog, which) -> logOut(accountID))
|
||||||
.setNegativeButton(R.string.cancel, null)
|
.setNegativeButton(R.string.cancel, null)
|
||||||
.show();
|
.show();
|
||||||
|
|
Loading…
Reference in New Issue