muba-posting 6.0.19 → 6.0.21
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/Posting.js +12 -9
- package/Publish3.js +1 -1
- package/package.json +1 -1
package/Posting.js
CHANGED
|
@@ -369,16 +369,19 @@ export default class Posting extends React.Component {
|
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
goBack = async () => {
|
|
372
|
-
if (this.state.
|
|
373
|
-
this.
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
372
|
+
if (!this.state.showImageBrowser) {
|
|
373
|
+
if (this.state.prevViews.length === 0 || this.state.view === Views.PREVIEW) {
|
|
374
|
+
this.props.navigation.dispatch(state => {
|
|
375
|
+
const routes = [...state.routes];
|
|
376
|
+
|
|
377
|
+
routes.pop();
|
|
378
|
+
|
|
379
|
+
return CommonActions.reset({
|
|
380
|
+
index: routes.length - 1,
|
|
381
|
+
routes: routes
|
|
382
|
+
});
|
|
380
383
|
});
|
|
381
|
-
}
|
|
384
|
+
}
|
|
382
385
|
} else {
|
|
383
386
|
const prevViews = [...this.state.prevViews];
|
|
384
387
|
|
package/Publish3.js
CHANGED
|
@@ -204,7 +204,7 @@ export default class Publish3 extends React.Component {
|
|
|
204
204
|
returnKeyType={"next"}
|
|
205
205
|
onlyNumbers={true}
|
|
206
206
|
required={true}
|
|
207
|
-
maxValue={
|
|
207
|
+
maxValue={999999}
|
|
208
208
|
onChangeText={(text) => this.onChangeArea(text)}
|
|
209
209
|
onSubmitEditing={(event) => { this.inputTextPrice.focus(); }}
|
|
210
210
|
scroll={(ref) => this.props.scroll(ref)}
|