Skip to content

Commit

Permalink
haha
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed Mar 26, 2024
1 parent f2203ca commit 651732b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/Components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ export const Settings = () => {
</div>
);
};

export default { registerSettings, Settings };
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { Injector, Logger, settings } from "replugged";
import { defaultSettings } from "./lib/consts";
import { registerSettings } from "./Components/Settings";
import "./style.css";
export const PluginLogger = Logger.plugin("Token");
export const PluginInjector = new Injector();
export const PluginInjectorUtils = PluginInjector.utils;
export const SettingValues = await settings.init("dev.tharki.Token", defaultSettings);
import Settings from "./Components/Settings";
import TokenMenuItem from "./Components/MenuItem";
import HBCM from "./lib/HomeButtonContextMenuApi";
import Injections from "./patches/index";
import Injections from "./patches";

export const start = (): void => {
registerSettings();
Settings.registerSettings();
HBCM.getAPI().addItem("Token", TokenMenuItem);
Injections.applyInjections();
};
Expand Down

0 comments on commit 651732b

Please sign in to comment.