diff --git a/Passepartout/App/Constants/Theme.swift b/Passepartout/App/Constants/Theme.swift index 76dadf78..5903fe47 100644 --- a/Passepartout/App/Constants/Theme.swift +++ b/Passepartout/App/Constants/Theme.swift @@ -304,10 +304,10 @@ extension View { Text(L10n.Global.Strings.save) } - func themeDoneButtonLabel() -> some View { -// themeCheckmarkImage.asSystemImage - Text(L10n.Global.Strings.ok) - } +// func themeDoneButtonLabel() -> some View { +//// themeCheckmarkImage.asSystemImage +// Text(L10n.Global.Strings.ok) +// } func themeTextPicker(_ title: String, selection: Binding, values: [T], description: @escaping (T) -> String) -> some View { StyledPicker(title: title, selection: selection, values: values) { diff --git a/Passepartout/App/Views/ProfileView+Rename.swift b/Passepartout/App/Views/ProfileView+Rename.swift index ae0fa0b9..cae3139c 100644 --- a/Passepartout/App/Views/ProfileView+Rename.swift +++ b/Passepartout/App/Views/ProfileView+Rename.swift @@ -57,9 +57,7 @@ extension ProfileView { .toolbar { themeCloseItem(presentationMode: presentationMode) ToolbarItem(placement: .primaryAction) { - Button(action: commitRenaming) { - themeDoneButtonLabel() - } + Button(action: commitRenaming, label: themeSaveButtonLabel) } }.alert(isPresented: $isOverwritingExistingProfile, content: alertOverwriteExistingProfile) }