diff --git a/AutoCat.xcodeproj/project.pbxproj b/AutoCat.xcodeproj/project.pbxproj index 811cc67..2a10ff3 100644 --- a/AutoCat.xcodeproj/project.pbxproj +++ b/AutoCat.xcodeproj/project.pbxproj @@ -1080,7 +1080,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 86; + CURRENT_PROJECT_VERSION = 87; DEVELOPMENT_TEAM = 46DTTB8X4S; INFOPLIST_FILE = AutoCat/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.0; @@ -1105,7 +1105,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 86; + CURRENT_PROJECT_VERSION = 87; DEVELOPMENT_TEAM = 46DTTB8X4S; INFOPLIST_FILE = AutoCat/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.0; diff --git a/AutoCat/Controllers/CheckController.swift b/AutoCat/Controllers/CheckController.swift index a08ee0f..b97e669 100644 --- a/AutoCat/Controllers/CheckController.swift +++ b/AutoCat/Controllers/CheckController.swift @@ -217,7 +217,7 @@ class CheckController: UIViewController, UITableViewDelegate, UITextFieldDelegat do { let realm = try Realm() if let dbVehicle = realm.object(ofType: Vehicle.self, forPrimaryKey: numberNormalized), dbVehicle.unrecognized { - events.append(contentsOf: dbVehicle.events) + events.append(contentsOf: dbVehicle.events.map { $0.clone() }) } } catch { print(error) diff --git a/AutoCat/Utils/RxRealmDataSource.swift b/AutoCat/Utils/RxRealmDataSource.swift index 64f057d..5c90c42 100644 --- a/AutoCat/Utils/RxRealmDataSource.swift +++ b/AutoCat/Utils/RxRealmDataSource.swift @@ -31,7 +31,7 @@ class RealmSectionedDataSource: NSObject, UITableViewDataSource case .initial: self.reload(animated: false) case .update(_, _, _, _): - self.reload(animated: true) + self.reload(animated: false) case .error(let err): print("Realm observer error: \(err)") } diff --git a/AutoCatCore/Models/AudioRecord.swift b/AutoCatCore/Models/AudioRecord.swift index 70551b1..d52a6bc 100644 --- a/AutoCatCore/Models/AudioRecord.swift +++ b/AutoCatCore/Models/AudioRecord.swift @@ -49,7 +49,6 @@ public class AudioRecord: Object, Identifiable, Differentiable, Cloneable { public func getAddedDate() -> TimeInterval { if self.identifier == 0 { self.identifier = self.addedDate - print("getAddedDate: \(self.identifier)") } return self.addedDate