优化获取微信和提交微信组件的交互
This commit is contained in:
parent
143ce77b58
commit
d16df073a9
|
@ -206,7 +206,10 @@ export default function GetWechatModal({ visible, setVisible, streamerMid }) {
|
|||
>
|
||||
<TouchableOpacity
|
||||
activeOpacity={1}
|
||||
onPress={() => 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"
|
||||
|
|
|
@ -240,7 +240,10 @@ export default function SubmitWechatModal({
|
|||
>
|
||||
<TouchableOpacity
|
||||
activeOpacity={1}
|
||||
onPress={() => 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"
|
||||
|
|
Loading…
Reference in New Issue