aboutsummaryrefslogtreecommitdiff
path: root/src/components/Settings.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Settings.tsx')
-rw-r--r--src/components/Settings.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index 54e6ddb..3b4c04a 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -74,7 +74,7 @@ export default ErrorBoundary.wrap(function Settings() {
<Flex className={classes(Margins.marginBottom20)}>
<Button
- onClick={() => VencordNative.ipc.invoke(IpcEvents.OPEN_PATH, settingsDir)}
+ onClick={() => window.DiscordNative.fileManager.showItemInFolder(settingsDir)}
size={Button.Sizes.SMALL}
disabled={settingsDirPending}
>