From a7b044580080f4c63405564150c45edfa2f140fe Mon Sep 17 00:00:00 2001 From: Adeoye Adefemi Date: Sun, 12 May 2024 00:26:30 +0100 Subject: [PATCH 1/2] chore: impl share page --- mobile/src/App.tsx | 39 ++------- mobile/src/pages/Settings.tsx | 18 ---- mobile/src/pages/Share.tsx | 53 ++++++------ mobile/src/pages/TransferHistory.tsx | 118 --------------------------- 4 files changed, 33 insertions(+), 195 deletions(-) delete mode 100644 mobile/src/pages/Settings.tsx delete mode 100644 mobile/src/pages/TransferHistory.tsx diff --git a/mobile/src/App.tsx b/mobile/src/App.tsx index ca25ec4..2407a97 100644 --- a/mobile/src/App.tsx +++ b/mobile/src/App.tsx @@ -1,4 +1,3 @@ -import { Redirect, Route } from "react-router-dom"; import { IonApp, IonIcon, @@ -11,20 +10,11 @@ import { } from "@ionic/react"; import { IonReactRouter } from "@ionic/react-router"; import { - home, - settings, - time, - homeOutline, - settingsOutline, - timeOutline, - radio, - personCircle, - scan, + home } from "ionicons/icons"; +import { Redirect, Route } from "react-router-dom"; import Home from "./pages/Home"; -import History from "./pages/ScanQr"; -import Settings from "./pages/Settings"; /* Core CSS required for Ionic components to work properly */ import "@ionic/react/css/core.css"; @@ -35,12 +25,12 @@ import "@ionic/react/css/structure.css"; import "@ionic/react/css/typography.css"; /* Optional CSS utils that can be commented out */ -import "@ionic/react/css/padding.css"; +import "@ionic/react/css/display.css"; +import "@ionic/react/css/flex-utils.css"; import "@ionic/react/css/float-elements.css"; +import "@ionic/react/css/padding.css"; import "@ionic/react/css/text-alignment.css"; import "@ionic/react/css/text-transformation.css"; -import "@ionic/react/css/flex-utils.css"; -import "@ionic/react/css/display.css"; /** * Ionic Dark Mode @@ -60,7 +50,6 @@ import "./theme/variables.css"; import "./styles/global.css"; import "remixicon/fonts/remixicon.css"; -import TransferHistory from "./pages/TransferHistory"; import Share from "./pages/Share"; import SystemInfoStore from "./store/global"; @@ -75,17 +64,12 @@ const App: React.FC = () => ( - - - - - - + + - @@ -96,15 +80,6 @@ const App: React.FC = () => (