mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 23:23:04 -04:00
Fix Quoter Link
This commit is contained in:
parent
2893466ba9
commit
1d995a393a
1 changed files with 1 additions and 2 deletions
|
@ -141,7 +141,7 @@ async function createQuoteImage(avatarUrl: string, quoteOld: string, grayScale:
|
||||||
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
||||||
|
|
||||||
const avatarBlob = await fetchImageAsBlob(avatarUrl);
|
const avatarBlob = await fetchImageAsBlob(avatarUrl);
|
||||||
const fadeBlob = await fetchImageAsBlob("https://cdn.nest.rip/uploads/4ec258ab-9446-497a-a9ef-0c7c70661ca1.png");
|
const fadeBlob = await fetchImageAsBlob("https://github.com/Equicord/Equibored/raw/main/misc/quoter.png");
|
||||||
|
|
||||||
const avatar = new Image();
|
const avatar = new Image();
|
||||||
const fade = new Image();
|
const fade = new Image();
|
||||||
|
@ -199,7 +199,6 @@ async function setIsUserCustomCapable() {
|
||||||
isUserCustomCapable = allowList.includes(UserStore.getCurrentUser().id);
|
isUserCustomCapable = allowList.includes(UserStore.getCurrentUser().id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function QuoteModal(props: ModalProps) {
|
function QuoteModal(props: ModalProps) {
|
||||||
setIsUserCustomCapable();
|
setIsUserCustomCapable();
|
||||||
const [gray, setGray] = useState(true);
|
const [gray, setGray] = useState(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue