Hi guys, just started to using - Flows in SwiftUI (preview)
but looks there’s a issue when select the list item after list all the data from List view. you can see the data was goes to empty.
but use async function no problem. am i missing something?
Copy code
@MainActor
private func startObservingQuickCommandsUpdates() async {
for await contextTaskModifiers in contextTaskModifiersViewModel.contextTaskModifiers {
self.contextTaskModifiers = contextTaskModifiers
}
}