diff --git a/src/App.tsx b/src/App.tsx
index 78fd701..c6ecb71 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -401,6 +401,7 @@ function App() {
message: messageQortalRequestExtension,
} = useModal();
+ const [isRunningPublicNode, setIsRunningPublicNode] = useState(false)
const [infoSnack, setInfoSnack] = useState(null);
const [openSnack, setOpenSnack] = useState(false);
@@ -450,6 +451,14 @@ function App() {
}
}, []);
+ useEffect(()=> {
+ isRunningGateway().then((res)=> {
+ setIsRunningPublicNode(res)
+ }).catch((error)=> {
+ console.error(error)
+ })
+ }, [extState])
+
useEffect(()=> {
if(!shownTutorialsInitiated) return
if(extState === 'not-authenticated'){
@@ -1868,7 +1877,8 @@ function App() {
isUserBlocked,
addToBlockList,
removeBlockFromList,
- getAllBlockedUsers
+ getAllBlockedUsers,
+ isRunningPublicNode
}}
>
@@ -2046,7 +2056,8 @@ function App() {
isUserBlocked,
addToBlockList,
removeBlockFromList,
- getAllBlockedUsers
+ getAllBlockedUsers,
+ isRunningPublicNode
}}
>
{
/>
- setSeedValue(e.target.value)}
- />
-
+ setSeedValue(e.target.value)}
+ autoComplete="off"
+ sx={{
+ width: '100%'
+ }}
+ />
+
{
value={password}
onChange={(e) => setPassword(e.target.value)}
autoComplete="off"
+ sx={{
+ width: '100%'
+ }}
/>
diff --git a/src/atoms/global.ts b/src/atoms/global.ts
index cb49bf7..95b7099 100644
--- a/src/atoms/global.ts
+++ b/src/atoms/global.ts
@@ -12,18 +12,12 @@ export const sortablePinnedAppsAtom = atom({
}, {
name: 'Q-Share',
service: 'APP'
- }, {
- name: 'qombo',
- service: 'APP'
}, {
name: 'Q-Fund',
service: 'APP'
}, {
name: 'Q-Shop',
service: 'APP'
- },{
- name: 'Qombo',
- service: 'APP'
},
{
name: 'Q-Trade',
@@ -33,10 +27,6 @@ export const sortablePinnedAppsAtom = atom({
name: 'Q-Support',
service: 'APP'
},
- {
- name: 'NodeInfo',
- service: 'APP'
- },
{
name: 'Q-Manager',
service: 'APP'
diff --git a/src/components/Apps/AppsCategory.tsx b/src/components/Apps/AppsCategory.tsx
index 5045f1c..725ff1d 100644
--- a/src/components/Apps/AppsCategory.tsx
+++ b/src/components/Apps/AppsCategory.tsx
@@ -36,12 +36,10 @@ const officialAppList = [
"q-share",
"q-support",
"q-mail",
- "qombo",
"q-fund",
"q-shop",
"q-trade",
"q-support",
- "nodeinfo",
"q-manager"
];
diff --git a/src/components/Apps/AppsCategoryDesktop.tsx b/src/components/Apps/AppsCategoryDesktop.tsx
index ab4fef1..d41207a 100644
--- a/src/components/Apps/AppsCategoryDesktop.tsx
+++ b/src/components/Apps/AppsCategoryDesktop.tsx
@@ -44,12 +44,10 @@ const officialAppList = [
"q-share",
"q-support",
"q-mail",
- "qombo",
"q-fund",
"q-shop",
"q-trade",
"q-support",
- "nodeinfo",
"q-manager"
];
diff --git a/src/components/Apps/AppsLibrary.tsx b/src/components/Apps/AppsLibrary.tsx
index ba42c3e..26e7d81 100644
--- a/src/components/Apps/AppsLibrary.tsx
+++ b/src/components/Apps/AppsLibrary.tsx
@@ -38,12 +38,10 @@ const officialAppList = [
"q-share",
"q-support",
"q-mail",
- "qombo",
"q-fund",
"q-shop",
"q-trade",
"q-support",
- "nodeinfo",
"q-manager"
];
diff --git a/src/components/Apps/AppsLibraryDesktop.tsx b/src/components/Apps/AppsLibraryDesktop.tsx
index 8da2e28..b836ac8 100644
--- a/src/components/Apps/AppsLibraryDesktop.tsx
+++ b/src/components/Apps/AppsLibraryDesktop.tsx
@@ -53,12 +53,10 @@ const officialAppList = [
"q-share",
"q-support",
"q-mail",
- "qombo",
"q-fund",
"q-shop",
"q-trade",
"q-support",
- "nodeinfo",
"q-manager",
"q-mintership"
];
diff --git a/src/components/Chat/MessageItem.tsx b/src/components/Chat/MessageItem.tsx
index 5123ee2..284ad96 100644
--- a/src/components/Chat/MessageItem.tsx
+++ b/src/components/Chat/MessageItem.tsx
@@ -188,7 +188,7 @@ const onSeenFunc = useCallback(()=> {
-
+
(null);
const [timestampEnterData, setTimestampEnterData] = useState({});
const [chatMode, setChatMode] = useState("groups");
@@ -457,6 +457,8 @@ export const Group = ({
return null
}, [selectedGroup])
+
+
const setSelectedGroupId = useSetRecoilState(selectedGroupIdAtom)
const toggleSideViewDirects = ()=> {
@@ -2021,21 +2023,24 @@ export const Group = ({
/>
Group Mgmt
- {
- setIsOpenBlockedUserModal(true);
- }}
- sx={{
- minWidth: 'unset',
- padding: '10px'
- }}
- >
-
-
+ {!isRunningPublicNode && (
+ {
+ setIsOpenBlockedUserModal(true);
+ }}
+ sx={{
+ minWidth: 'unset',
+ padding: '10px'
+ }}
+ >
+
+
+ )}
+
>
)}
{chatMode === "directs" && (
diff --git a/src/components/PasswordField/PasswordField.tsx b/src/components/PasswordField/PasswordField.tsx
index 4ff4a80..89bc8b4 100644
--- a/src/components/PasswordField/PasswordField.tsx
+++ b/src/components/PasswordField/PasswordField.tsx
@@ -1,6 +1,7 @@
-import { Button, InputAdornment, TextField, TextFieldProps, styled } from "@mui/material";
+import { Button, ButtonBase, InputAdornment, TextField, TextFieldProps, styled } from "@mui/material";
import { forwardRef, useState } from 'react'
-
+import VisibilityOffIcon from '@mui/icons-material/VisibilityOff';
+import VisibilityIcon from '@mui/icons-material/Visibility';
export const CustomInput = styled(TextField)({
width: "183px", // Adjust the width as needed
borderRadius: "5px",
@@ -51,7 +52,11 @@ export const PasswordField = forwardRef( ({ ..
{
setCanViewPassword((prevState) => !prevState)
}}>
- {canViewPassword ? : }
+ {canViewPassword ? : }
)
}}
diff --git a/src/components/WrapperUserAction.tsx b/src/components/WrapperUserAction.tsx
index 9aa5cbf..a3bcc3f 100644
--- a/src/components/WrapperUserAction.tsx
+++ b/src/components/WrapperUserAction.tsx
@@ -4,6 +4,7 @@ import { executeEvent } from '../utils/events';
import { MyContext } from '../App';
export const WrapperUserAction = ({ children, address, name, disabled }) => {
+ const {isRunningPublicNode} = useContext(MyContext)
const [anchorEl, setAnchorEl] = useState(null);
// Handle child element click to open Popover
@@ -138,8 +139,10 @@ export const WrapperUserAction = ({ children, address, name, disabled }) => {
User lookup
-
-
+ {!isRunningPublicNode && (
+
+
+ )}
)}