don't use person icon for unblock

close #245
This commit is contained in:
sk 2023-01-13 04:52:35 +01:00
parent 3dc338b3a5
commit 6c615a4893
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ public class UiUtils{
showConfirmationAlert(activity, activity.getString(currentlyBlocked ? R.string.confirm_unblock_title : R.string.confirm_block_title), showConfirmationAlert(activity, activity.getString(currentlyBlocked ? R.string.confirm_unblock_title : R.string.confirm_block_title),
activity.getString(currentlyBlocked ? R.string.confirm_unblock : R.string.confirm_block, account.displayName), activity.getString(currentlyBlocked ? R.string.confirm_unblock : R.string.confirm_block, account.displayName),
activity.getString(currentlyBlocked ? R.string.do_unblock : R.string.do_block), activity.getString(currentlyBlocked ? R.string.do_unblock : R.string.do_block),
currentlyBlocked ? R.drawable.ic_fluent_person_28_regular : R.drawable.ic_fluent_person_prohibited_28_regular, R.drawable.ic_fluent_person_prohibited_28_regular,
()->{ ()->{
new SetAccountBlocked(account.id, !currentlyBlocked) new SetAccountBlocked(account.id, !currentlyBlocked)
.setCallback(new Callback<>(){ .setCallback(new Callback<>(){