Skip to content

Commit

Permalink
fix: format url
Browse files Browse the repository at this point in the history
  • Loading branch information
AkaShark committed Feb 18, 2024
1 parent c3b8a12 commit f758bf5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Easydict/NewApp/View/MenuView/MainMenuCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ struct EasyDictMainMenu: Commands {
// Help
CommandGroup(replacing: CommandGroupPlacement.help, addition: {
Button("menu_feedback") {
guard let versionURL = URL(string: "\(EZGithubRepoEasydictURL)/issues") else {
return
}
openURL(versionURL)
openURL(URL(string: "\(EZGithubRepoEasydictURL)/issues")!)
}
})
}
Expand Down

0 comments on commit f758bf5

Please sign in to comment.