feat: improve title and layout of the confirm dialog (#2307)

This commit is contained in:
TAKAHASHI Shuuji 2024-01-10 04:51:36 +09:00 committed by GitHub
parent 54e53889e5
commit 0451ac98c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 203 additions and 188 deletions

View file

@ -26,7 +26,8 @@ function shareAccount() {
async function toggleReblogs() {
if (!relationship!.showingReblogs && await openConfirmDialog({
title: t('confirm.show_reblogs.title', [account.acct]),
title: t('confirm.show_reblogs.title'),
description: t('confirm.show_reblogs.description', [account.acct]),
confirm: t('confirm.show_reblogs.confirm'),
cancel: t('confirm.show_reblogs.cancel'),
}) !== 'confirm')