Sfoglia il codice sorgente

Bugfix: Dialog buttons problem fixed.

lfabl 2 settimane fa
parent
commit
539955efcf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/dialog/index.tsx

+ 1 - 1
src/components/dialog/index.tsx

@@ -199,6 +199,7 @@ const Dialog: RefForwardingComponent<IDialogRef, IDialogProps> = ({
         }
 
         return <Button
+            variant="filled"
             type="neutral"
             {...secondaryButtonProps}
             onPress={() => {
@@ -213,7 +214,6 @@ const Dialog: RefForwardingComponent<IDialogRef, IDialogProps> = ({
             spreadBehaviour={contentJustify === "centered" ? "stretch" : "free"}
             title={secondaryButtonProps?.title || localize("cancel")}
             style={secondaryButtonStyle}
-            variant="outline"
         />;
     };