Added the "navigationTitle" property to the ContentViewModel view model in the Sample app target to update the navigation title to show the selected locale.
This commit is contained in:
@@ -62,7 +62,7 @@ struct ContentView: View {
|
||||
maxWidth: .infinity,
|
||||
maxHeight: .infinity
|
||||
)
|
||||
.navigationTitle(.viewRecordingNavigationTitle)
|
||||
.navigationTitle(model.navigationTitle)
|
||||
#if !os(macOS)
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user