fix: page

This commit is contained in:
2025-11-04 14:50:36 +01:00
parent bf6e5c8854
commit 678d63c73f
2 changed files with 627 additions and 596 deletions
+7 -10
View File
@@ -4,17 +4,17 @@ import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view
import { SafeAreaView } from "react-native-safe-area-context";
import React from "reactn";
import { responsiveHeight } from "../actions/responsiveSizes.js";
import { icons } from "../assets";
import BaseHeader from "../components/BaseHeader";
import ConnectBtn from "../components/ConnectBtn.js";
import NavigateHeader from "../components/NavigateHeader";
import ShareBtn from "../components/ShareBtn/ShareBtn";
import { isWeb } from "../hooks/useLayoutType.js";
import { gutters } from "../styles";
import { icons } from "../assets";
import { FONT_FAMILY } from "../styles/Fonts";
import { useUserData } from "../providers/UserDataProvider";
import { push } from "../navigation/NavigationService";
import { Routes } from "../navigation";
import { push } from "../navigation/NavigationService";
import { useUserData } from "../providers/UserDataProvider";
import { gutters } from "../styles";
import { FONT_FAMILY } from "../styles/Fonts";
export default ({
children,
@@ -45,10 +45,7 @@ export default ({
blurIntensity = 0,
backgroundColor = "#000",
}) => {
const {
currentUID = null,
currentUserData = null,
} = useUserData?.() || {};
const { currentUID = null, currentUserData = null } = useUserData?.() || {};
const coinBalance = React.useMemo(() => {
const data = currentUserData || {};
@@ -118,7 +115,7 @@ export default ({
flex: 1,
minHeight: isWeb ? "100svh" : "100%",
position: "relative",
paddingHorizontal: isWeb ? gutters : 0,
// paddingHorizontal: isWeb ? gutters : 0,
backgroundColor: backgroundColor,
}}
>