|
|
|
|
@ -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 { |
|
|
|
|
|