Enhance confirm dialog cancel options

This commit is contained in:
Andrés Moya 2020-10-15 11:04:10 +02:00 committed by Andrey Antukh
parent ef0126a6ae
commit fcbcc6de95
3 changed files with 5 additions and 5 deletions

View file

@ -112,7 +112,7 @@
:message ""
:title (t locale "modals.add-shared-confirm.message" (:name file))
:hint (t locale "modals.add-shared-confirm.hint")
:cancel-label ""
:cancel-label :omit
:accept-label (t locale "modals.add-shared-confirm.accept")
:accept-style :primary
:on-accept add-shared}))))
@ -128,7 +128,7 @@
:message ""
:title (t locale "modals.remove-shared-confirm.message" (:name file))
:hint (t locale "modals.remove-shared-confirm.hint")
:cancel-label ""
:cancel-label :omit
:accept-label (t locale "modals.remove-shared-confirm.accept")
:on-accept del-shared}))))