Skip to content

Commit 3152f8b

Browse files
committed
Add Warning Icon for Block User Popup
1 parent c29b674 commit 3152f8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4736,7 +4736,7 @@ function renderProfileTab(cProfile) {
47364736
showToast('User Unblocked');
47374737
renderChatlist();
47384738
} else {
4739-
const confirmed = await popupConfirm('Block User', 'Are you sure you want to block this user? You will no longer receive DMs from them.');
4739+
const confirmed = await popupConfirm('Block User', 'Are you sure you want to block this user? You will no longer receive DMs from them.', false, '', 'vector_warning.svg');
47404740
if (!confirmed) return;
47414741
await invoke('block_user', { npub: cProfile.id });
47424742
showToast('User Blocked');

0 commit comments

Comments
 (0)