diff --git a/app/(auth)/(tabs)/(home)/settings/plugins/kefinTweaks/page.tsx b/app/(auth)/(tabs)/(home)/settings/plugins/kefinTweaks/page.tsx
index e9af145f..b6fd8c2e 100644
--- a/app/(auth)/(tabs)/(home)/settings/plugins/kefinTweaks/page.tsx
+++ b/app/(auth)/(tabs)/(home)/settings/plugins/kefinTweaks/page.tsx
@@ -1,11 +1,8 @@
-import { ScrollView } from "react-native";
+import { ScrollView, View } from "react-native";
import { useSafeAreaInsets } from "react-native-safe-area-context";
-import DisabledSetting from "@/components/settings/DisabledSetting";
import { KefinTweaksSettings } from "@/components/settings/KefinTweaks";
-import { useSettings } from "@/utils/atoms/settings";
export default function KefinTweaksPage() {
- const { pluginSettings } = useSettings();
const insets = useSafeAreaInsets();
return (
@@ -16,12 +13,9 @@ export default function KefinTweaksPage() {
paddingRight: insets.right,
}}
>
-
+
-
+
);
}
diff --git a/components/settings/KefinTweaks.tsx b/components/settings/KefinTweaks.tsx
index 228b4692..0021859c 100644
--- a/components/settings/KefinTweaks.tsx
+++ b/components/settings/KefinTweaks.tsx
@@ -1,33 +1,28 @@
import { useTranslation } from "react-i18next";
-import { Switch, Text, View } from "react-native";
+import { Switch } from "react-native";
import { useSettings } from "@/utils/atoms/settings";
+import { ListGroup } from "../list/ListGroup";
+import { ListItem } from "../list/ListItem";
export const KefinTweaksSettings = () => {
- const { settings, updateSettings } = useSettings();
+ const { settings, updateSettings, pluginSettings } = useSettings();
const { t } = useTranslation();
const isEnabled = settings?.useKefinTweaks ?? false;
+ const locked = pluginSettings?.useKefinTweaks?.locked === true;
return (
-
-
-
- {t("home.settings.plugins.kefinTweaks.watchlist_enabler")}
-
-
-
-
- {isEnabled ? t("Watchlist On") : t("Watchlist Off")}
-
-
- updateSettings({ useKefinTweaks: value })}
- trackColor={{ false: "#555", true: "purple" }}
- thumbColor={isEnabled ? "#fff" : "#ccc"}
- />
-
-
-
+
+
+ updateSettings({ useKefinTweaks: value })}
+ />
+
+
);
};