yes/no prompt for quoteQuestion

This commit is contained in:
ThatOneCalculator 2022-11-15 22:38:05 -08:00
parent 8ca66bc5fb
commit 0522aecc64
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "12.119.0-calc.14.1",
"version": "12.119.0-calc.14.2",
"codename": "aqua",
"repository": {
"type": "git",

View File

@ -33,7 +33,7 @@
<MkButton v-if="showCancelButton || input || select" inline @click="cancel">{{ i18n.ts.cancel }}</MkButton>
</div>
<div v-else>
<MkButton v-if="showOkButton" inline primary :autofocus="!input && !select" @click="ok">{{ (showCancelButton || input || select) ? i18n.ts.ok : i18n.ts.yes }}</MkButton>
<MkButton v-if="showOkButton" inline primary :autofocus="!input && !select" @click="ok">{{ i18n.ts.yes }}</MkButton>
<MkButton v-if="showCancelButton || input || select" inline @click="cancel">{{ i18n.ts.no }}</MkButton>
</div>
</div>

View File

@ -458,7 +458,7 @@ async function onPaste(ev: ClipboardEvent) {
if (!props.renote && !quoteId && paste.startsWith(url + '/notes/')) {
ev.preventDefault();
os.confirm({
os.yesno({
type: 'info',
text: i18n.ts.quoteQuestion,
}).then(({ canceled }) => {