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 CHANGED
@@ -369,16 +369,19 @@ export default class Posting extends React.Component {
369
369
  }
370
370
 
371
371
  goBack = async () => {
372
- if (this.state.prevViews.length === 0 || this.state.view === Views.PREVIEW) {
373
- this.props.navigation.dispatch(state => {
374
- state.routes.splice(state.routes.length - 1, 1);
375
- const routes = state.routes.map(r => { return { name: r.name } });
376
-
377
- return CommonActions.reset({
378
- routes,
379
- index: routes.length - 1
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={9999999}
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)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "6.0.19",
3
+ "version": "6.0.21",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {