From d16df073a9d9f26db1df6fd421b6030298194237 Mon Sep 17 00:00:00 2001 From: yezian Date: Thu, 25 Apr 2024 15:49:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8E=B7=E5=8F=96=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E5=92=8C=E6=8F=90=E4=BA=A4=E5=BE=AE=E4=BF=A1=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/GetWechatModal/index.jsx | 6 +++++- components/SubmitWechatModal/index.jsx | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) 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"