|
|
@@ -28,10 +28,19 @@ extension MicItem { |
|
|
|
Bus.Sync(shouldResetActivity, K.MI, K.isActive, id), |
|
|
|
MicItem.Controller(id) |
|
|
|
] |
|
|
|
//Bus.send(K.requestActivityDate, id) |
|
|
|
|
|
|
|
Bus.send(K.requestActivityDate, id) |
|
|
|
} |
|
|
|
.onChange(of: id) { newValue in |
|
|
|
isActive.id = newValue |
|
|
|
let id = newValue |
|
|
|
isActive.id = id |
|
|
|
h.items = [ |
|
|
|
Bus.Delay(shouldResetTimeout, K.MI, K.timeout, id), |
|
|
|
Bus.Sync(shouldResetActivity, K.MI, K.isActive, id), |
|
|
|
MicItem.Controller(id) |
|
|
|
] |
|
|
|
|
|
|
|
Bus.send(K.requestActivityDate, id) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|