mirror of
https://github.com/Vencord/Vesktop.git
synced 2025-02-24 14:15:09 +00:00
replace pencil icon with discord client pencil icon
This commit is contained in:
parent
a946c5d2af
commit
1ea46567bd
2 changed files with 5 additions and 4 deletions
|
@ -4,11 +4,14 @@
|
|||
* Copyright (c) 2023 Vendicated and Vencord contributors
|
||||
*/
|
||||
|
||||
import { findByPropsLazy } from "@vencord/types/webpack";
|
||||
import { Forms, Switch, Toasts } from "@vencord/types/webpack/common";
|
||||
import { Settings } from "renderer/settings";
|
||||
|
||||
import { SettingsComponent } from "./Settings";
|
||||
|
||||
const { PencilIcon } = findByPropsLazy("PencilIcon");
|
||||
|
||||
export const TrayIconImagePicker: SettingsComponent = ({ settings }) => {
|
||||
return (
|
||||
<>
|
||||
|
@ -44,10 +47,8 @@ export const TrayIconImagePicker: SettingsComponent = ({ settings }) => {
|
|||
width="48"
|
||||
height="48"
|
||||
></img>
|
||||
<input
|
||||
<PencilIcon
|
||||
className="vcd-edit-button"
|
||||
type="image"
|
||||
src="https://raw.githubusercontent.com/Vencord/Vesktop/main/static/pencil-edit-icon.svg"
|
||||
width="40"
|
||||
height="40"
|
||||
onClick={async () => {
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
display: block;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
top: 3px;
|
||||
left: 4px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue