diff --git a/components/GetWechatModal/index.jsx b/components/GetWechatModal/index.jsx index 7289df6..eac387e 100644 --- a/components/GetWechatModal/index.jsx +++ b/components/GetWechatModal/index.jsx @@ -206,7 +206,10 @@ export default function GetWechatModal({ visible, setVisible, streamerMid }) { > setVisible(false)} + onPress={() => { + setVisible(false); + setIsMoneyEnough(true); + }} style={{ backgroundColor: "#00000080", ...tailwind("flex-1 justify-center items-center"), @@ -309,6 +312,7 @@ export default function GetWechatModal({ visible, setVisible, streamerMid }) { onPress={() => { navigation.navigate("Wallet"); setVisible(false); + setIsMoneyEnough(true); }} style={tailwind( "px-4 py-2 bg-[#FF669E] rounded-full items-center justify-center" diff --git a/components/SubmitWechatModal/index.jsx b/components/SubmitWechatModal/index.jsx index 7d12bbc..b7855a9 100644 --- a/components/SubmitWechatModal/index.jsx +++ b/components/SubmitWechatModal/index.jsx @@ -240,7 +240,10 @@ export default function SubmitWechatModal({ > setVisible(false)} + onPress={() => { + setVisible(false); + setIsMoneyEnough(true); + }} style={{ backgroundColor: "#00000080", ...tailwind("flex flex-1 justify-center items-center"), @@ -359,6 +362,7 @@ export default function SubmitWechatModal({ onPress={() => { navigation.navigate("Wallet"); setVisible(false); + setIsMoneyEnough(true); }} style={tailwind( "px-4 py-2 bg-[#FF669E] rounded-full items-center justify-center"