Posts

Post not yet marked as solved
5 Replies
My guess it's because ForEach. Try to add some dumb view which will cause UI update outside of the loop. Something like this pseudo code;NavigationView { Text(globalInfo.users.first? ?? "Default") List { ForEach(globalInfo.users.indices, id: \.self) { idx in NavigationLink(destination: UserView(idx: idx)) { Text(self.globalInfo.users[idx]) } } }...this is pseudo code, wrap it also into some kind of Stack view