Skip to content

Commit

Permalink
Update MainVC.swift
Browse files Browse the repository at this point in the history
Remove test code to capture screenshot.
  • Loading branch information
serhii-londar committed Nov 26, 2024
1 parent 286fc7f commit 7a3e97d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Example/AppleReminders/Controllers/MainVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import RealmSwift
import SwiftUI
import UIKit
import CrowdinSDK

final class MainVC: UIViewController {

Expand Down Expand Up @@ -102,16 +101,6 @@ final class MainVC: UIViewController {

setupNavBar()
setupSearch()

CrowdinSDK.captureAndUpdateScreenshot(name: "{screenshot_name}") { result in
switch result {
case .new: print("New screenshot captured")
case .udpated: print("Screenshot updated")
}
} errorHandler: { error in
print("Error: \(error)")
}

}

deinit {
Expand Down

0 comments on commit 7a3e97d

Please sign in to comment.