Skip to content

Commit

Permalink
fix: remove buymeacoffee
Browse files Browse the repository at this point in the history
  • Loading branch information
mmpneo committed Jun 18, 2024
1 parent a0b2050 commit 5128bd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/server/services/twitch/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class TwitchChatApi {
if (this.#state.data.chatReceiveEnable) {
window.ApiShared.pubsub.publishText(TextEventSource.textfield, {
type: TextEventType.final,
value: msg.content.value,
value: msg.text,
textFieldType: "twitchChat",
});
}
Expand Down
5 changes: 1 addition & 4 deletions src/server/ui/inspector/inspector_settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ServiceNetworkState } from "@/types";
import { getVersion } from '@tauri-apps/api/app';
import { FC, memo, useEffect, useState } from "react";
import { RiFileCopyLine, RiSettings2Fill } from "react-icons/ri";
import { SiDiscord, SiBuymeacoffee, SiPatreon, SiTwitch, SiTwitter } from "react-icons/si";
import { SiDiscord, SiPatreon, SiTwitch, SiTwitter } from "react-icons/si";
import { useSnapshot } from "valtio";
import Dropdown from "../dropdown/Dropdown";
import Tooltip from "../dropdown/Tooltip";
Expand Down Expand Up @@ -116,9 +116,6 @@ const Inspector_Settings: FC = memo(() => {
<Tooltip content="Patreon" body={<span>Subscribe to get a Supporter role in discord <br/> (completely useless, just different color) <img className="h-8" src="/peepoSmile.webp"/></span>}>
<a target="_blank" href="https://www.patreon.com/mmpcode" className="btn text-primary btn-ghost btn-circle text-2xl"><SiPatreon /></a>
</Tooltip>
<Tooltip content="Buy me a coffee" body={<span>Tips are greatly appreciated 💖</span>}>
<a target="_blank" href="https://www.buymeacoffee.com/mmpcode" className="btn text-primary btn-ghost btn-circle text-2xl"><SiBuymeacoffee /></a>
</Tooltip>
</div>
<div className="self-center text-sm opacity-50">{t('settings.desc_1')}</div>
<div className="self-center text-sm opacity-50">{t('settings.desc_2')}</div>
Expand Down

0 comments on commit 5128bd8

Please sign in to comment.