replace pencil icon with discord client pencil icon

This commit is contained in:
MrGarlic 2024-06-05 07:45:41 -04:00
parent a946c5d2af
commit 1ea46567bd
2 changed files with 5 additions and 4 deletions

View file

@ -4,11 +4,14 @@
* Copyright (c) 2023 Vendicated and Vencord contributors * Copyright (c) 2023 Vendicated and Vencord contributors
*/ */
import { findByPropsLazy } from "@vencord/types/webpack";
import { Forms, Switch, Toasts } from "@vencord/types/webpack/common"; import { Forms, Switch, Toasts } from "@vencord/types/webpack/common";
import { Settings } from "renderer/settings"; import { Settings } from "renderer/settings";
import { SettingsComponent } from "./Settings"; import { SettingsComponent } from "./Settings";
const { PencilIcon } = findByPropsLazy("PencilIcon");
export const TrayIconImagePicker: SettingsComponent = ({ settings }) => { export const TrayIconImagePicker: SettingsComponent = ({ settings }) => {
return ( return (
<> <>
@ -44,10 +47,8 @@ export const TrayIconImagePicker: SettingsComponent = ({ settings }) => {
width="48" width="48"
height="48" height="48"
></img> ></img>
<input <PencilIcon
className="vcd-edit-button" className="vcd-edit-button"
type="image"
src="https://raw.githubusercontent.com/Vencord/Vesktop/main/static/pencil-edit-icon.svg"
width="40" width="40"
height="40" height="40"
onClick={async () => { onClick={async () => {

View file

@ -51,7 +51,7 @@
display: block; display: block;
opacity: 0; opacity: 0;
position: absolute; position: absolute;
top: 4px; top: 3px;
left: 4px; left: 4px;
} }