优化获取微信和提交微信组件的交互
This commit is contained in:
parent
143ce77b58
commit
d16df073a9
|
@ -206,7 +206,10 @@ export default function GetWechatModal({ visible, setVisible, streamerMid }) {
|
||||||
>
|
>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
activeOpacity={1}
|
activeOpacity={1}
|
||||||
onPress={() => setVisible(false)}
|
onPress={() => {
|
||||||
|
setVisible(false);
|
||||||
|
setIsMoneyEnough(true);
|
||||||
|
}}
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: "#00000080",
|
backgroundColor: "#00000080",
|
||||||
...tailwind("flex-1 justify-center items-center"),
|
...tailwind("flex-1 justify-center items-center"),
|
||||||
|
@ -309,6 +312,7 @@ export default function GetWechatModal({ visible, setVisible, streamerMid }) {
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
navigation.navigate("Wallet");
|
navigation.navigate("Wallet");
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
|
setIsMoneyEnough(true);
|
||||||
}}
|
}}
|
||||||
style={tailwind(
|
style={tailwind(
|
||||||
"px-4 py-2 bg-[#FF669E] rounded-full items-center justify-center"
|
"px-4 py-2 bg-[#FF669E] rounded-full items-center justify-center"
|
||||||
|
|
|
@ -240,7 +240,10 @@ export default function SubmitWechatModal({
|
||||||
>
|
>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
activeOpacity={1}
|
activeOpacity={1}
|
||||||
onPress={() => setVisible(false)}
|
onPress={() => {
|
||||||
|
setVisible(false);
|
||||||
|
setIsMoneyEnough(true);
|
||||||
|
}}
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: "#00000080",
|
backgroundColor: "#00000080",
|
||||||
...tailwind("flex flex-1 justify-center items-center"),
|
...tailwind("flex flex-1 justify-center items-center"),
|
||||||
|
@ -359,6 +362,7 @@ export default function SubmitWechatModal({
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
navigation.navigate("Wallet");
|
navigation.navigate("Wallet");
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
|
setIsMoneyEnough(true);
|
||||||
}}
|
}}
|
||||||
style={tailwind(
|
style={tailwind(
|
||||||
"px-4 py-2 bg-[#FF669E] rounded-full items-center justify-center"
|
"px-4 py-2 bg-[#FF669E] rounded-full items-center justify-center"
|
||||||
|
|
Loading…
Reference in New Issue