feat: use correct title for confirmLogOut dialog

This commit is contained in:
LucasGGamerM 2023-06-04 11:00:02 -03:00
parent 6881651ce7
commit 443a69b10d
1 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,8 @@ public class AccountSwitcherSheet extends BottomSheet{
private void confirmLogOut(String accountID){
AccountSession session=AccountSessionManager.getInstance().getAccount(accountID);
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))
.setNegativeButton(R.string.cancel, null)
.show();