Post

Replies

Boosts

Views

Activity

Reply to swiftui may be missing as an ancestor of this view.
Maybe it helps changing to this:         .sheet(item: $vm.sheetLocation) { location in             LocationDetailView(location: location)                         .environmentObject(vm) in LocationsView
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Programmatic way to find the language of an application
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.
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22