jfinn 3 anni fa
parent
commit
77fb6d21fd
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4
    2
      mdev/wv0.native.js

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

@@ -128,6 +128,8 @@ class Wview_btns extends PureComponent<Props> {
128 128
 
129 129
                         // style={ {} }
130 130
         // return (
131
+
132
+        // NEED CONSTS DEFS
131 133
         var ret_con = {}
132 134
         var ret =  (
133 135
                         <View  style={wview_btns.style_v0 || {}}>
@@ -135,7 +137,7 @@ class Wview_btns extends PureComponent<Props> {
135 137
             prop_id = "b1"
136 138
                          style = { wview_btns.style_b1 || {}} 
137 139
                          color={wview_btns.color_b1}
138
-                         onPress = {fncb_only_v2("vbx_press",{wvt:this,ret_con})}
140
+                         onPress = {fncb_only_v2("vbx_press",{wvt:this,ret_con,button_action:"wb_toggle"})}
139 141
                          >
140 142
              {wview_btns.b1_txt  || "udef1"}
141 143
              </Button_v2>
@@ -147,7 +149,7 @@ class Wview_btns extends PureComponent<Props> {
147 149
                          labelStyle = { wview_btns.style_b2l || {}} 
148 150
 
149 151
                          color={wview_btns.color_b2}
150
-                         onPress = {fncb_only_v2("vbx_press",{wvt:this,ret_con})}
152
+                         onPress = {fncb_only_v2("vbx_press",{wvt:this,ret_con,button_action:"tbox_toggle"})}
151 153
                          >
152 154
              {wview_btns.b2_txt  || "udef2"}
153 155
              </Button_v2>

Loading…
Annulla
Salva