I used to have a string "CurrentLanguage" in my localisation text file. E.g. in the english version I have "CurrentLanguage" = "en"; Then I just have to localise "CurrentLanguage" and I have the answer.
Post
Replies
Boosts
Views
Activity
Maybe it helps changing to this:
.sheet(item: $vm.sheetLocation) { location in
LocationDetailView(location: location)
.environmentObject(vm)
in LocationsView