mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 22:56:15 +00:00
animations make me wanna kms
animations!!!!!!!!! on add, delete and ticking yayy sorts on load extract contentview to HomeView, its got too indented loll
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Item.swift
|
||||
// NearFuture
|
||||
//
|
||||
// Created by Nihaal Sharma on 24/12/2024.
|
||||
// Created by neon443 on 24/12/2024.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
@@ -20,7 +20,7 @@ import UserNotifications
|
||||
// }
|
||||
//}
|
||||
|
||||
struct Event: Identifiable, Codable, Equatable {
|
||||
struct Event: Identifiable, Codable, Equatable, Animatable {
|
||||
var id = UUID()
|
||||
var name: String
|
||||
var complete: Bool
|
||||
@@ -227,6 +227,7 @@ class EventViewModel: ObservableObject {
|
||||
}
|
||||
}
|
||||
updateSyncStatus()
|
||||
self.events.sort() {$0.date < $1.date}
|
||||
}
|
||||
|
||||
func getNotifs() async -> [UNNotificationRequest] {
|
||||
|
||||
Reference in New Issue
Block a user