muba-posting 7.0.3 → 7.0.4

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/Publish6.js CHANGED
@@ -126,7 +126,7 @@ export default class Publish6 extends React.Component {
126
126
  const responseJson = await this.props.request(this.props.context, PHONE_REGISTERED, body);
127
127
  validate = responseJson.message == null && validate;
128
128
  if (responseJson.message != null) {
129
- this.setState({ phoneMessage: responseJson.message, allowRecover: responseJson.allowRecover });
129
+ this.setState({ phoneMessage: responseJson.message, allowRecover: responseJson.allowRecover, lu: responseJson.lu });
130
130
  this.popupPhoneRegistered.show();
131
131
  }
132
132
 
@@ -153,9 +153,9 @@ export default class Publish6 extends React.Component {
153
153
  this.setState({ reference: text });
154
154
  }
155
155
 
156
- recoverPassword() {
156
+ login() {
157
157
  this.popupPhoneRegistered.hide();
158
- navigate(this.props.context, Views.LOGIN, { RedirectTo: 'back', view: 'lostPassword', disableChangeView: true, loadLeadData: false })
158
+ navigate(this.props.context, Views.LOGIN, { RedirectTo: 'back', disableRegister: true, loadLeadData: false, lu: this.state.lu })
159
159
  }
160
160
 
161
161
  render() {
@@ -288,8 +288,8 @@ export default class Publish6 extends React.Component {
288
288
  :
289
289
  <View>
290
290
  <View style={commonStyles.minDivider} />
291
- <TouchableOpacity onPress={() => this.recoverPassword()}>
292
- <Text style={[commonStyles.blue, commonStyles.textCenter, commonStyles.fSize15]}>{strings('setup.resetPassword')}</Text>
291
+ <TouchableOpacity onPress={() => this.login()}>
292
+ <Text style={[commonStyles.blue, commonStyles.textCenter, commonStyles.fSize15]}>{strings('setup.login')}</Text>
293
293
  </TouchableOpacity>
294
294
  </View>
295
295
  }
package/locales/ar.json CHANGED
@@ -113,7 +113,7 @@
113
113
  "ad_cant_post_zone": "لا يمكنك النشر في هذه المدينة",
114
114
  "noPromotionTitle": "أنت بحاجة إلى ترقية",
115
115
  "noPromotionText": "لإنشاء إعلان جديد، أنت بحاجة إلى ترويج",
116
- "resetPassword": "إعادة تعيين كلمة المرور"
116
+ "login": "تسجيل الدخول"
117
117
  },
118
118
  "product": {
119
119
  "LISTING": "قوائم",
package/locales/en.json CHANGED
@@ -113,7 +113,7 @@
113
113
  "ad_cant_post_zone": "You can't post in this city",
114
114
  "noPromotionTitle": "You need a promotion",
115
115
  "noPromotionText": "To create a new ad, you need a promotion",
116
- "resetPassword": "Recover password"
116
+ "login": "Log in"
117
117
  },
118
118
  "product": {
119
119
  "LISTING": "Listing",
package/locales/es.json CHANGED
@@ -113,7 +113,7 @@
113
113
  "ad_cant_post_zone": "No puedes publicar en esta ciudad",
114
114
  "noPromotionTitle": "Necesitas una promoción",
115
115
  "noPromotionText": "Para crear un nuevo anuncio, necesitas una promoción",
116
- "resetPassword": "Recuperar contraseña"
116
+ "login": "Conectarse"
117
117
  },
118
118
  "product": {
119
119
  "LISTING": "Listing",
package/locales/fr.json CHANGED
@@ -113,7 +113,7 @@
113
113
  "ad_cant_post_zone": "Vous ne pouvez pas poster dans cette ville",
114
114
  "noPromotionTitle": "Vous avez besoin d'une promotion",
115
115
  "noPromotionText": "Pour créer une nouvelle annonce, vous avez besoin d'une promotion",
116
- "resetPassword": "Récupérer le mot de passe"
116
+ "login": "Se connecter"
117
117
  },
118
118
  "product": {
119
119
  "LISTING": "Liste",
package/locales/it.json CHANGED
@@ -113,7 +113,7 @@
113
113
  "ad_cant_post_zone": "Non puoi postare in questa città",
114
114
  "noPromotionTitle": "Hai bisogno di una promozione",
115
115
  "noPromotionText": "Per creare un nuovo annuncio, è necessaria una promozione",
116
- "resetPassword": "Recupero della password"
116
+ "login": "Accedi"
117
117
  },
118
118
  "product": {
119
119
  "LISTING": "Inserzioni",
package/locales/nl.json CHANGED
@@ -113,7 +113,7 @@
113
113
  "ad_cant_post_zone": "In deze stad mag je niet posten",
114
114
  "noPromotionTitle": "Je hebt een promotie nodig",
115
115
  "noPromotionText": "Om een nieuwe advertentie te maken, heb je een promotie nodig",
116
- "resetPassword": "Wachtwoord herstellen"
116
+ "login": "Inloggen"
117
117
  },
118
118
  "product": {
119
119
  "LISTING": "Advertenties",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "7.0.3",
3
+ "version": "7.0.4",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {