muba-posting 4.2.2 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Preview.js +4 -5
- package/package.json +16 -16
package/Preview.js
CHANGED
|
@@ -20,8 +20,7 @@ export default class Preview extends React.Component {
|
|
|
20
20
|
premiumActive: false,
|
|
21
21
|
superPremiumActive: false,
|
|
22
22
|
remaining: 0,
|
|
23
|
-
product: ''
|
|
24
|
-
showPaymentOnline: false
|
|
23
|
+
product: ''
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
26
|
|
|
@@ -31,8 +30,8 @@ export default class Preview extends React.Component {
|
|
|
31
30
|
if (this.state.minHeight != minHeight) {
|
|
32
31
|
this.setState({ minHeight: minHeight })
|
|
33
32
|
}
|
|
34
|
-
const paymentOnlineActive = await this.props.request(this, PAYMENT_ONLINE_ACTIVE, { regionId: this.props.postingAd.
|
|
35
|
-
|
|
33
|
+
const paymentOnlineActive = await this.props.request(this, PAYMENT_ONLINE_ACTIVE, { regionId: this.props.postingAd.regionId });
|
|
34
|
+
console.log(paymentOnlineActive)
|
|
36
35
|
this.refreshData();
|
|
37
36
|
}
|
|
38
37
|
|
|
@@ -188,7 +187,7 @@ export default class Preview extends React.Component {
|
|
|
188
187
|
</View>
|
|
189
188
|
</View>
|
|
190
189
|
}
|
|
191
|
-
{!this.props.businessId
|
|
190
|
+
{!this.props.businessId ?
|
|
192
191
|
<View style={commonStyles.previewHighlightContainer}>
|
|
193
192
|
<TouchableOpacity style={[commonStyles.previewHighlightButton, commonStyles.alignCenter]} activeOpacity={0.5} onPress={() => this.props.highlight()}>
|
|
194
193
|
<Image style={commonStyles.previewHighlightImage} source={require('./assets/images/sparks.png')} />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muba-posting",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Posting",
|
|
5
5
|
"main": "Posting.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,20 +18,20 @@
|
|
|
18
18
|
"homepage": "https://github.com/Mubawab/muba-posting#readme",
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@react-native-async-storage/async-storage": "~1.17.3",
|
|
21
|
-
"muba-custom-scroll-view": "
|
|
22
|
-
"muba-display-price": "
|
|
23
|
-
"muba-font": "
|
|
24
|
-
"muba-i18n": "
|
|
25
|
-
"muba-input-select": "
|
|
26
|
-
"muba-input-text": "
|
|
27
|
-
"muba-loading-cursor": "
|
|
28
|
-
"muba-map": "
|
|
29
|
-
"muba-output-text": "
|
|
30
|
-
"muba-phone-group": "
|
|
31
|
-
"muba-picture": "
|
|
32
|
-
"muba-payment-online": "
|
|
33
|
-
"muba-popup-advice": "
|
|
34
|
-
"muba-popup-permissions": "
|
|
35
|
-
"muba-radio-button-group": "
|
|
21
|
+
"muba-custom-scroll-view": "5",
|
|
22
|
+
"muba-display-price": "5",
|
|
23
|
+
"muba-font": "5",
|
|
24
|
+
"muba-i18n": "5",
|
|
25
|
+
"muba-input-select": "5",
|
|
26
|
+
"muba-input-text": "5",
|
|
27
|
+
"muba-loading-cursor": "5",
|
|
28
|
+
"muba-map": "5",
|
|
29
|
+
"muba-output-text": "5",
|
|
30
|
+
"muba-phone-group": "5",
|
|
31
|
+
"muba-picture": "5",
|
|
32
|
+
"muba-payment-online": "5",
|
|
33
|
+
"muba-popup-advice": "5",
|
|
34
|
+
"muba-popup-permissions": "5",
|
|
35
|
+
"muba-radio-button-group": "5"
|
|
36
36
|
}
|
|
37
37
|
}
|