feat: improve title and layout of the confirm dialog (#2307)
This commit is contained in:
parent
54e53889e5
commit
0451ac98c9
32 changed files with 203 additions and 188 deletions
|
@ -66,6 +66,7 @@ async function shareLink(status: mastodon.v1.Status) {
|
|||
async function deleteStatus() {
|
||||
if (await openConfirmDialog({
|
||||
title: t('confirm.delete_posts.title'),
|
||||
description: t('confirm.delete_posts.description'),
|
||||
confirm: t('confirm.delete_posts.confirm'),
|
||||
cancel: t('confirm.delete_posts.cancel'),
|
||||
}) !== 'confirm')
|
||||
|
@ -83,6 +84,7 @@ async function deleteStatus() {
|
|||
async function deleteAndRedraft() {
|
||||
if (await openConfirmDialog({
|
||||
title: t('confirm.delete_posts.title'),
|
||||
description: t('confirm.delete_posts.description'),
|
||||
confirm: t('confirm.delete_posts.confirm'),
|
||||
cancel: t('confirm.delete_posts.cancel'),
|
||||
}) !== 'confirm')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue