Apply suggestions from code review
fix the settings navigation code Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
7d8b346985
commit
d198fbb410
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ function initMenuBar(win: BrowserWindow) {
|
||||||
label: "Settings",
|
label: "Settings",
|
||||||
accelerator: "CmdOrCtrl+,",
|
accelerator: "CmdOrCtrl+,",
|
||||||
async click() {
|
async click() {
|
||||||
mainWin.webContents.executeJavaScript("Vencord.Webpack.Common.SettingsRouter.open()")
|
mainWin.webContents.executeJavaScript("Vencord.Webpack.Common.SettingsRouter.open('My Account')")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Reference in a new issue