|
|
@@ -7,14 +7,16 @@ extension MeetupId { |
|
|
|
@StateObject var isLoading = BusUI.Value(K.isLoading, false) |
|
|
|
@StateObject var join = BusUI.Button(K.join) |
|
|
|
@StateObject var textField = BusUI.TextField(K.textApp, K.textUI) |
|
|
|
let processors: [Any] = [ |
|
|
|
Bus.Debounce(formatId, 0.2, K.textUI, K.textApp), |
|
|
|
Bus.Delay(finishLoading, 5, K.isLoading, K.finishLoading), |
|
|
|
Bus.Sync(shouldEnableJoin, K.M, K.isJoinAvailable), |
|
|
|
Bus.Sync(shouldResetLoading, K.M, K.isLoading) |
|
|
|
] |
|
|
|
let processors: [Any] |
|
|
|
|
|
|
|
public init() { } |
|
|
|
public init() { |
|
|
|
processors = [ |
|
|
|
Bus.Debounce(shouldResetText, 0.2, K.M, K.textApp), |
|
|
|
Bus.Delay(shouldFinishLoading, 5, K.M, K.finishLoading), |
|
|
|
Bus.Sync(shouldEnableJoin, K.M, K.isJoinAvailable), |
|
|
|
Bus.Sync(shouldResetLoading, K.M, K.isLoading) |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
|
public var body: some View { |
|
|
|
VStack(spacing: 8) { |
|
|
|