revert storage push

multistore
Laurent 1 year ago
parent 38071b0523
commit 8dffc0a3e6
  1. 10
      PadelClub/Data/Club.swift

@ -53,11 +53,11 @@ class Club : ModelObject, Storable, Hashable {
self.broadcastCode = broadcastCode
}
override func onServerInsert(serverCopy: any Storable) -> Bool {
guard let copy = serverCopy as? Club else { return false }
self.broadcastCode = copy.broadcastCode
return true
}
// override func onServerInsert(serverCopy: any Storable) -> Bool {
// guard let copy = serverCopy as? Club else { return false }
// self.broadcastCode = copy.broadcastCode
// return true
// }
func clubTitle(_ displayStyle: DisplayStyle = .wide) -> String {
switch displayStyle {

Loading…
Cancel
Save