Automatically resolves Cheat + ControllerSkin sync conflicts

This commit is contained in:
Riley Testut 2023-06-27 18:58:41 -05:00
parent 750740ac16
commit 707116a39b
2 changed files with 10 additions and 0 deletions

View File

@ -53,4 +53,9 @@ extension Cheat: Syncable
public var syncableLocalizedName: String? {
return self.name
}
public func resolveConflict(_ record: AnyRecord) -> ConflictResolution
{
return .newest
}
}

View File

@ -129,4 +129,9 @@ extension ControllerSkin: Syncable
public var syncableLocalizedName: String? {
return self.name
}
public func resolveConflict(_ record: AnyRecord) -> ConflictResolution
{
return .newest
}
}