From cdf62900731beb71c89eb95e068561b0a4497500 Mon Sep 17 00:00:00 2001
From: Der_Googler <54764558+DerGoogler@users.noreply.github.com>
Date: Sun, 12 May 2024 13:08:17 +0200
Subject: [PATCH] add pp
---
.../src/activitys/fragments/DrawerFragment.tsx | 17 ++++++++++++++++-
Website/src/locales/en.ts | 1 +
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/Website/src/activitys/fragments/DrawerFragment.tsx b/Website/src/activitys/fragments/DrawerFragment.tsx
index d0880744..6cf64b5a 100644
--- a/Website/src/activitys/fragments/DrawerFragment.tsx
+++ b/Website/src/activitys/fragments/DrawerFragment.tsx
@@ -15,6 +15,8 @@ import ModFSActivity from "@Activitys/ModFSActivity";
import ModConfPlaygroundActivity from "@Activitys/ModConfPlaygroundActivity";
import LicensesActivity from "@Activitys/LicensesActivity";
import { SubmitModuleActivity } from "@Activitys/SubmitModuleActivity";
+import { os } from "@Native/Os";
+import { useTheme } from "@Hooks/useTheme";
type Props = {
renderToolbar: () => JSX.Element;
@@ -25,7 +27,7 @@ type Props = {
export const DrawerFragment = (props: Props) => {
const hide = props.hideSplitter;
const pushPage = props.pushPage;
-
+ const { theme } = useTheme();
const { strings } = useStrings();
return (
@@ -122,6 +124,19 @@ export const DrawerFragment = (props: Props) => {
Other}>
+ {
+ os.open("https://dergoogler.com/legal/privacy-policy", {
+ target: "_blank",
+ features: {
+ color: theme.palette.background.default,
+ },
+ });
+ hide();
+ }}
+ >
+
+
{
pushPage({
diff --git a/Website/src/locales/en.ts b/Website/src/locales/en.ts
index 8a50261f..ecac7f7f 100644
--- a/Website/src/locales/en.ts
+++ b/Website/src/locales/en.ts
@@ -151,4 +151,5 @@ export const en = {
// terminal activity
reboot_device: "Reboot device?",
reboot_device_desc: "Are you sure to reboot your device?",
+ privacy_privacy: "Privacy Privacy"
};