Skip to content

Commit

Permalink
remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepanokdev committed Oct 26, 2023
1 parent 2a6ceb2 commit 4eabc77
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Core/Core/Network/API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down
2 changes: 0 additions & 2 deletions Discovery/Discovery/Presentation/DiscoveryViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down Expand Up @@ -177,7 +176,6 @@ public class DiscoveryViewModel: ObservableObject {
if date < Date() {
DispatchQueue.main.async {
self.router.showUpdateRequiredView(showAccountLink: true)
print("Хардкод на пора обновится")
}
}
}
Expand Down

0 comments on commit 4eabc77

Please sign in to comment.