|
|
|
|
@ -12,13 +12,8 @@ import LeStorage |
|
|
|
|
@Observable |
|
|
|
|
final class Club: BaseClub { |
|
|
|
|
|
|
|
|
|
override func copyFromServerInstance(_ instance: any Storable) -> Bool { |
|
|
|
|
guard let copy = instance as? Club else { return false } |
|
|
|
|
self.broadcastCode = copy.broadcastCode |
|
|
|
|
// Logger.log("write code: \(self.broadcastCode)") |
|
|
|
|
return true |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static var copyServerResponse: Bool { return true } |
|
|
|
|
|
|
|
|
|
func clubTitle(_ displayStyle: DisplayStyle = .wide) -> String { |
|
|
|
|
switch displayStyle { |
|
|
|
|
case .wide, .title: |
|
|
|
|
|