From 4066f4e8ce82666ce2ae86afcade7423a212baea Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Wed, 27 Jul 2022 17:15:02 -0400 Subject: [PATCH] Quick fix --- src/index.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 02119a8..6034d5e 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -11,6 +11,7 @@ import { } from "decky-frontend-lib"; import { VFC, useState } from "react"; import { FaFan } from "react-icons/fa"; +import { SiOnlyfans } from "react-icons/si"; import * as backend from "./backend"; import {Canvas} from "./canvas"; @@ -292,10 +293,16 @@ export default definePlugin((serverApi: ServerAPI) => { }); })(); + let ico = ; + let now = new Date(); + if (now.getDate() == 1 && now.getMonth() == 3) { + ico = ; + } + return { title:
Fantastic
, content: , - icon: , + icon: ico, onDismount() { clearInterval(periodicHook!); serverApi.routerHook.removeRoute("/decky-plugin-test");