Skip to content

Commit

Permalink
fix: run title localisation format (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMoonThatRises committed Dec 31, 2023
1 parent db98b07 commit 07328aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Whisky/Views/FileOpenView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct FileOpenView: View {
}
.frame(maxHeight: .infinity)
.formStyle(.grouped)
.navigationTitle("run.title")
.navigationTitle(String(format: String(localized: "run.title"), fileURL.lastPathComponent))
.toolbar {
ToolbarItem(placement: .cancellationAction) {
Button("create.cancel") {
Expand Down

0 comments on commit 07328aa

Please sign in to comment.