From 4eabc7737f76ae6adb7c4d59eca14681b7624fe8 Mon Sep 17 00:00:00 2001 From: stepanokdev <100592747+Stepanokdev@users.noreply.github.com> Date: Thu, 26 Oct 2023 13:10:32 +0300 Subject: [PATCH] remove debug prints --- Core/Core/Network/API.swift | 2 -- Discovery/Discovery/Presentation/DiscoveryViewModel.swift | 2 -- 2 files changed, 4 deletions(-) diff --git a/Core/Core/Network/API.swift b/Core/Core/Network/API.swift index 6ddaaeca6..d8f9a3035 100644 --- a/Core/Core/Network/API.swift +++ b/Core/Core/Network/API.swift @@ -80,11 +80,9 @@ public final class API { if await result.response.response?.statusCode != 426 { if let lastDate = lastDate { - print(">>>> lastDate", lastDate) NotificationCenter.default.post(name: .appVersionLastSupportedDate, object: lastDate) } if let latestVersion = latestVersion { - print(">>>> latestVersion", latestVersion) NotificationCenter.default.post(name: .appLatestVersion, object: latestVersion) } } diff --git a/Discovery/Discovery/Presentation/DiscoveryViewModel.swift b/Discovery/Discovery/Presentation/DiscoveryViewModel.swift index 527d05a7c..18f374e73 100644 --- a/Discovery/Discovery/Presentation/DiscoveryViewModel.swift +++ b/Discovery/Discovery/Presentation/DiscoveryViewModel.swift @@ -88,7 +88,6 @@ public class DiscoveryViewModel: ObservableObject { NotificationCenter.default.publisher(for: .appVersionLastSupportedDate) .sink { [weak self] notification in if let lastSupportedDate = notification.object as? String { - print(">>>> 🤡", lastSupportedDate) self?.checkDate(supportDate: lastSupportedDate) } } @@ -177,7 +176,6 @@ public class DiscoveryViewModel: ObservableObject { if date < Date() { DispatchQueue.main.async { self.router.showUpdateRequiredView(showAccountLink: true) - print("Хардкод на пора обновится") } } }