[UI > Settings] Completely overhaul

This commit is contained in:
Beef 2022-10-23 01:39:02 +01:00
parent 0ec19aaf5c
commit 91be38564d
6 changed files with 55 additions and 24 deletions

2
src/lib/constants.ts Normal file
View file

@ -0,0 +1,2 @@
export const DISCORD_SERVER = "https://discord.gg/n9QQ4XhhJP";
export const GITHUB = "https://github.com/vendetta-mod";

View file

@ -4,6 +4,7 @@ import { find, findByProps } from "@metro/filters";
export const constants = findByProps("API_HOST");
export const channels = findByProps("getVoiceChannelId");
export const i18n = findByProps("Messages");
export const url = findByProps("openURL");
export const toasts = find(m => m.open && m.close && !m.startDrag && !m.init && !m.openReplay && !m.setAlwaysOnTop);
// React