App restart is not a 'danger' operation
This commit is contained in:
@@ -365,9 +365,10 @@ async function onRestartApp() {
|
||||
|
||||
const confirmed = await inputDialog.value.confirm({
|
||||
message: t('filemanager.toolbar.restartApp') + '?',
|
||||
confirmStyle: 'danger',
|
||||
confirmStyle: 'primary',
|
||||
confirmLabel: t('main.dialog.yes'),
|
||||
rejectLabel: t('main.dialog.no')
|
||||
rejectLabel: t('main.dialog.no'),
|
||||
rejectStyle: 'secondary',
|
||||
});
|
||||
|
||||
if (!confirmed) return;
|
||||
|
||||
Reference in New Issue
Block a user