diff options
Diffstat (limited to 'src/components/Settings.tsx')
-rw-r--r-- | src/components/Settings.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx index 3e883b9..bc44e26 100644 --- a/src/components/Settings.tsx +++ b/src/components/Settings.tsx @@ -74,14 +74,14 @@ export default ErrorBoundary.wrap(function Settings() { <Flex className={classes(Margins.marginBottom20)}> <Button - onClick={() => location.reload()} + onClick={() => window.DiscordNative.app.relaunch()} size={Button.Sizes.SMALL} color={Button.Colors.GREEN} > Reload </Button> <Button - onClick={() => VencordNative.ipc.invoke(IpcEvents.OPEN_PATH, settingsDir)} + onClick={() => window.DiscordNative.fileManager.showItemInFolder(settingsDir)} size={Button.Sizes.SMALL} disabled={settingsDirPending} > |