add success haptic and indentation

This commit is contained in:
neon443 committed 2025-06-15 21:24:15 +01:00
1 parent 5ec16dd67a
commit e4107a2faa
1 file changed
+3
+3
View File
@@ -43,6 +43,9 @@ struct CompleteEventButton: View {
if progress >= 1 {
withAnimation { completeInProgress = false }
viewModel.completeEvent(&event)
#if canImport(UIKit)
UINotificationFeedbackGenerator().notificationOccurred(.success)
#endif
timer.invalidate()
progress = 0
}
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.