swift 6 migration complete

This commit is contained in:
neon443 committed 2025-06-23 20:10:54 +01:00
1 parent 899304833c
commit 9841574d37
5 files changed
+48 -41

No files matched your search

+19 -19
View File
@@ -154,25 +154,25 @@ struct EventWidgetView: View {
.foregroundColor(event.date < Date() ? .red : .primary)
.padding(.trailing, -12)
} else {
Button(
intent: CompleteEvent(
eventID: IntentParameter(
title: LocalizedStringResource(
stringLiteral: event.id.uuidString
)
)
)
) {
if event.complete {
Circle()
.frame(width: 10)
.foregroundStyle(.green)
} else {
Circle()
.frame(width: 10)
.foregroundStyle(.gray)
}
}
// Button(
// intent: CompleteEvent(
// eventID: IntentParameter(
// title: LocalizedStringResource(
// stringLiteral: event.id.uuidString
// )
// )
// )
// ) {
// if event.complete {
// Circle()
// .frame(width: 10)
// .foregroundStyle(.green)
// } else {
// Circle()
// .frame(width: 10)
// .foregroundStyle(.gray)
// }
// }
Text(daysUntilEvent(event.date).long)
.font(.caption)
.multilineTextAlignment(.trailing)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.