aboutsummaryrefslogtreecommitdiff
path: root/src/components/Settings.tsx
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-02 02:46:41 +0200
committerVendicated <vendicated@riseup.net>2022-10-02 02:46:41 +0200
commitf31fd75efcf6971048c0111860be5c25de925075 (patch)
treef63e867d64743ffa816e56536163045dfd87ee3e /src/components/Settings.tsx
parent57d586fab73814a3778303c7a78c55c785e62af0 (diff)
downloadVencord-f31fd75efcf6971048c0111860be5c25de925075.tar.gz
Vencord-f31fd75efcf6971048c0111860be5c25de925075.tar.bz2
Vencord-f31fd75efcf6971048c0111860be5c25de925075.zip
UpdaterPage: Do not error if update check failed
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}
>