From 443a69b10d4defa58aea745d75234f57a60cbc99 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sun, 4 Jun 2023 11:00:02 -0300 Subject: [PATCH] feat: use correct title for confirmLogOut dialog --- .../java/org/joinmastodon/android/ui/AccountSwitcherSheet.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/AccountSwitcherSheet.java b/mastodon/src/main/java/org/joinmastodon/android/ui/AccountSwitcherSheet.java index b3f143213..8cc5d32e7 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/AccountSwitcherSheet.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/AccountSwitcherSheet.java @@ -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();