From a6017f47fa5eab82cfac2dea48cc3e19067b46a3 Mon Sep 17 00:00:00 2001 From: Gorkem Sevim Date: Thu, 27 Jun 2024 22:29:53 +0300 Subject: [PATCH] fix: remove invalidating time --- .../xcshareddata/swiftpm/Package.resolved | 27 +++++++++++++++++++ .../Main/ViewModels/MainScreenViewModel.swift | 4 --- 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/HappyPathTimeTracker.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/HappyPathTimeTracker.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 98c1f1a..a38c999 100644 --- a/HappyPathTimeTracker.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/HappyPathTimeTracker.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -9,6 +9,24 @@ "version" : "1.12.2" } }, + { + "identity" : "keychain-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/evgenyneu/keychain-swift", + "state" : { + "revision" : "d108a1fa6189e661f91560548ef48651ed8d93b9", + "version" : "20.0.0" + } + }, + { + "identity" : "popupview", + "kind" : "remoteSourceControl", + "location" : "https://github.com/exyte/PopupView", + "state" : { + "revision" : "87f3bf660ba23e8ee49ea2b503e86dfdf8e61ca7", + "version" : "2.6.1" + } + }, { "identity" : "sqlite.swift", "kind" : "remoteSourceControl", @@ -17,6 +35,15 @@ "revision" : "a95fc6df17d108bd99210db5e8a9bac90fe984b8", "version" : "0.15.3" } + }, + { + "identity" : "swiftdate", + "kind" : "remoteSourceControl", + "location" : "https://github.com/malcommac/SwiftDate.git", + "state" : { + "revision" : "5d943224c3bb173e6ecf27295611615eba90c80e", + "version" : "7.0.0" + } } ], "version" : 2 diff --git a/HappyPathTimeTracker/Screen/Main/ViewModels/MainScreenViewModel.swift b/HappyPathTimeTracker/Screen/Main/ViewModels/MainScreenViewModel.swift index c7c7cad..6239392 100644 --- a/HappyPathTimeTracker/Screen/Main/ViewModels/MainScreenViewModel.swift +++ b/HappyPathTimeTracker/Screen/Main/ViewModels/MainScreenViewModel.swift @@ -399,10 +399,6 @@ final class MainScreenViewModel: ObservableObject { } catch { HappyLogger.logger.error("Error occured while fetching all data") self.parseError(for: error) - DispatchQueue.main.async { - self.timer?.invalidate() - self.timer = nil - } } }