diff --git a/src/App.tsx b/src/App.tsx
index 48aaf6a..5200bec 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -99,6 +99,7 @@ import { AddressQRCode } from "./components/AddressQRCode";
import { Settings } from "./components/Group/Settings";
import { MainAvatar } from "./components/MainAvatar";
import { useRetrieveDataLocalStorage } from "./useRetrieveDataLocalStorage";
+import { useQortalGetSaveSettings } from "./useQortalGetSaveSettings";
type extStates =
| "not-authenticated"
@@ -324,6 +325,7 @@ function App() {
const [isSettingsOpen, setIsSettingsOpen] = useState(false);
const qortalRequestCheckbox1Ref = useRef(null);
useRetrieveDataLocalStorage()
+ useQortalGetSaveSettings(userInfo?.name)
useEffect(() => {
if (!isMobile) return;
// Function to set the height of the app to the viewport height
diff --git a/src/assets/svgs/SaveIcon.tsx b/src/assets/svgs/SaveIcon.tsx
new file mode 100644
index 0000000..12c4999
--- /dev/null
+++ b/src/assets/svgs/SaveIcon.tsx
@@ -0,0 +1,10 @@
+import React from 'react'
+
+export const SaveIcon = ({color = '#8F8F91'}) => {
+ return (
+
+
+ )
+}
diff --git a/src/atoms/global.ts b/src/atoms/global.ts
index 54d4186..2ad90d4 100644
--- a/src/atoms/global.ts
+++ b/src/atoms/global.ts
@@ -4,4 +4,9 @@ import { atom } from 'recoil';
export const sortablePinnedAppsAtom = atom({
key: 'sortablePinnedAppsFromAtom',
default: [],
+});
+
+export const canSaveSettingToQdnAtom = atom({
+ key: 'canSaveSettingToQdnAtom',
+ default: false,
});
\ No newline at end of file
diff --git a/src/components/Apps/AppViewerContainer.tsx b/src/components/Apps/AppViewerContainer.tsx
index 98303ad..7f01c15 100644
--- a/src/components/Apps/AppViewerContainer.tsx
+++ b/src/components/Apps/AppViewerContainer.tsx
@@ -42,7 +42,7 @@ const AppViewerContainer = ({app, isSelected, hide}) => {
>
} style={{
- height: `calc(${rootHeight} - 60px - 45px)`,
+ height: `calc(${rootHeight} - 60px - 45px - 20px)`,
border: 'none',
width: '100%',
display: (!isSelected || hide) && 'none'
diff --git a/src/components/Apps/Apps.tsx b/src/components/Apps/Apps.tsx
index 0a6ea90..bc1af29 100644
--- a/src/components/Apps/Apps.tsx
+++ b/src/components/Apps/Apps.tsx
@@ -236,6 +236,7 @@ export const Apps = ({ mode, setMode, show , myName}) => {
const setNewTabWindowFunc = (e) => {
setIsNewTabWindow(true);
+ setSelectedTab(null)
};
useEffect(() => {
@@ -252,18 +253,19 @@ export const Apps = ({ mode, setMode, show , myName}) => {
display: !show && "none",
}}
>
- {mode !== "viewer" && }
+ {mode !== "viewer" && !selectedTab && }
{mode === "home" && (
)}
- {mode === "library" && (
+
- )}
+
{mode === "appInfo" && }
{mode === "publish" && }
@@ -283,7 +285,7 @@ export const Apps = ({ mode, setMode, show , myName}) => {
>
)}
- {mode !== "viewer" && }
+ {mode !== "viewer" && !selectedTab && }
);
};
diff --git a/src/components/Apps/AppsLibrary.tsx b/src/components/Apps/AppsLibrary.tsx
index 78f083a..c1cc3ef 100644
--- a/src/components/Apps/AppsLibrary.tsx
+++ b/src/components/Apps/AppsLibrary.tsx
@@ -74,7 +74,7 @@ const ScrollerStyled = styled('div')({
"-ms-overflow-style": "none",
});
-export const AppsLibrary = ({ availableQapps, setMode, myName, hasPublishApp }) => {
+export const AppsLibrary = ({ availableQapps, setMode, myName, hasPublishApp, isShow }) => {
const [searchValue, setSearchValue] = useState("");
const virtuosoRef = useRef();
const { rootHeight } = useContext(MyContext);
@@ -133,7 +133,9 @@ export const AppsLibrary = ({ availableQapps, setMode, myName, hasPublishApp })
return (
-
+
{
}} src={NavAdd} />
{
+ if(!selectedTab) return
handleClick(e)
}}>
{/* Right Logout Icon */}
- {
setMobileViewModeKeepOpen("messaging");
}}
- edge="end"
- color="inherit"
- aria-label="logout"
-
- // onClick={onLogoutClick}
>
-
+
-
-
+