Browse Source

auto commit

app
jfinn 3 years ago
parent
commit
5ee355105c
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      mdev/wv0.native.js

+ 4
- 2
mdev/wv0.native.js View File

@@ -128,13 +128,14 @@ class Wview_btns extends PureComponent<Props> {
128 128
 
129 129
                         // style={ {} }
130 130
         // return (
131
+        var ret_con = {}
131 132
         var ret =  (
132 133
                         <View  style={wview_btns.style_v0 || {}}>
133 134
             <Button_v2 
134 135
             prop_id = "b1"
135 136
                          style = { wview_btns.style_b1 || {}} 
136 137
                          color={wview_btns.color_b1}
137
-                         onPress = {fncb_only_v2("vbx_press",{wvt:this,ret})}
138
+                         onPress = {fncb_only_v2("vbx_press",{wvt:this,ret_con})}
138 139
                          >
139 140
              {wview_btns.b1_txt  || "udef1"}
140 141
              </Button_v2>
@@ -146,7 +147,7 @@ class Wview_btns extends PureComponent<Props> {
146 147
                          labelStyle = { wview_btns.style_b2l || {}} 
147 148
 
148 149
                          color={wview_btns.color_b2}
149
-                         onPress = {fncb_only_v2("vbx_press",{wvt:this,ret})}
150
+                         onPress = {fncb_only_v2("vbx_press",{wvt:this,ret_con})}
150 151
                          >
151 152
              {wview_btns.b2_txt  || "udef2"}
152 153
              </Button_v2>
@@ -161,6 +162,7 @@ class Wview_btns extends PureComponent<Props> {
161 162
                                     </View>
162 163
 
163 164
             )
165
+        ret_con.ret= ret
164 166
         return ret 
165 167
 
166 168
     }

Loading…
Cancel
Save