/* * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors */ import { Button, Forms, Toasts } from "@vencord/types/webpack/common"; import { SettingsComponent } from "./Settings"; export const TrayIconImagePicker: SettingsComponent = ({ settings }) => { return ( <> Tray icon is currently {" "} {settings.trayIconPath ? ( { e.preventDefault(); VesktopNative.fileManager.showItemInFolder(settings.trayIconPath!); }} > {settings.trayIconPath} ) : ( "the default location" )}
); };