iOS 2.4.2 - Fixed Swipe Action Colours

This commit is contained in:
2025-12-07 01:43:19 -07:00
parent 50b30442e8
commit a6508da413
7 changed files with 15 additions and 11 deletions

View File

@@ -91,6 +91,7 @@ struct SessionDetailView: View {
} label: {
Label("Delete", systemImage: "trash")
}
.tint(.red)
.accessibilityLabel("Delete attempt")
Button {
@@ -98,7 +99,7 @@ struct SessionDetailView: View {
} label: {
Label("Edit", systemImage: "pencil")
}
.tint(themeManager.accentColor)
.tint(.indigo)
.accessibilityLabel("Edit attempt")
}
.onTapGesture {

View File

@@ -64,6 +64,7 @@ struct GymsList: View {
} label: {
Label("Delete", systemImage: "trash")
}
.tint(.red)
Button {
gymToEdit = gym
@@ -73,7 +74,7 @@ struct GymsList: View {
Text("Edit")
}
}
.tint(themeManager.accentColor)
.tint(.indigo)
}
}
.alert("Delete Gym", isPresented: .constant(gymToDelete != nil)) {

View File

@@ -107,6 +107,7 @@ struct ProblemsView: View {
} label: {
Label("Delete", systemImage: "trash")
}
.tint(.red)
Button {
withAnimation(.spring(response: 0.5, dampingFraction: 0.8, blendDuration: 0.1))
@@ -129,7 +130,7 @@ struct ProblemsView: View {
Text("Edit")
}
}
.tint(themeManager.accentColor)
.tint(.indigo)
}
}
}

View File

@@ -142,6 +142,7 @@ struct SessionsList: View {
} label: {
Label("Delete", systemImage: "trash")
}
.tint(.red)
}
}
} header: {