Explorar el Código

Merge pull request #1123 from MikePlante1/1121

Change Delete button role to .none
Deniz Cengiz hace 2 semanas
padre
commit
da4a208d10
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Trio/Sources/Modules/History/View/HistoryRootView.swift

+ 1 - 1
Trio/Sources/Modules/History/View/HistoryRootView.swift

@@ -843,7 +843,7 @@ extension History {
                 Button(
                 Button(
                     "Delete",
                     "Delete",
                     systemImage: "trash.fill",
                     systemImage: "trash.fill",
-                    role: .destructive,
+                    role: .none,
                     action: {
                     action: {
                         alertCarbEntryToDelete = meal
                         alertCarbEntryToDelete = meal