Skip to content

Commit

Permalink
feat: Post loader or something idk
Browse files Browse the repository at this point in the history
  • Loading branch information
byeoon committed Oct 24, 2024
1 parent 53fd049 commit b26d4b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/security.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Developer from "@/ui/settings/pages/Developer";
import { ReactNative as RN, NavigationNative } from "@metro/common";
import { findByProps } from "./metro/filters";
import { Tabs } from "@/ui/components";
import { showToast } from "@/ui/toasts";
const { hideActionSheet } = findByProps("openLazy", "hideActionSheet");
const { Stack, TableRow, TableRowIcon, TableSwitchRow, TableRowGroup }= Tabs;
export function initSplash() {
Expand All @@ -17,7 +18,9 @@ export function initSplash() {
},
options: [
{ label: "Toggle Safe Mode", onPress: (o : any) => {
window.vendetta.settings.safeMode == o; }
window.vendetta.settings.safeMode === o;
showToast("Loading Opti in safe mode.");
}
},
{ label: "Load without Opti",onPress: () =>{
alert("no");
Expand Down

0 comments on commit b26d4b7

Please sign in to comment.