From b26d4b7651c0c38c37a59398df14e2e724c3b778 Mon Sep 17 00:00:00 2001 From: byeoon <47872200+byeoon@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:20:08 +0000 Subject: [PATCH] feat: Post loader or something idk --- src/lib/security.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/security.ts b/src/lib/security.ts index 023dbd65..da21eac7 100644 --- a/src/lib/security.ts +++ b/src/lib/security.ts @@ -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() { @@ -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");