mirror of
https://github.com/Vencord/Vesktop.git
synced 2025-02-24 06:05: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
|
* 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 () => {
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
display: block;
|
display: block;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 4px;
|
top: 3px;
|
||||||
left: 4px;
|
left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue