Finish v1.16.32(214)

This commit is contained in:
Giuseppe Scorrano 2021-05-04 17:34:35 +02:00
commit 72e4f2a0b9
3 changed files with 8 additions and 5 deletions

View File

@ -6,8 +6,8 @@ apply plugin: 'com.google.gms.google-services'
android { android {
def appVersionCode = 213 def appVersionCode = 214
def appVersionName = '1.16.31' def appVersionName = '1.16.32'
signingConfigs { signingConfigs {
release { release {

View File

@ -128,7 +128,7 @@ public class ProdVersamentoMaterialViewModel {
DialogSimpleMessageView DialogSimpleMessageView
.makeWarningDialog(new SpannableString(Html.fromHtml("Il collo selezionato non presenta articoli versabili sulla linea.")), .makeWarningDialog(new SpannableString(Html.fromHtml("Il collo selezionato non presenta articoli versabili sulla linea.")),
null, this::openLU) null, this::openLU)
.show(((AppCompatActivity) mContext).getSupportFragmentManager(), "tag"); .show(mContext.getSupportFragmentManager(), "tag");
return; return;
} else if (mtbColt.get().getMtbColr().size() > 1) { } else if (mtbColt.get().getMtbColr().size() > 1) {
@ -137,10 +137,11 @@ public class ProdVersamentoMaterialViewModel {
null, () -> { null, () -> {
cyclicGetOrdiniLavByCollo(mtbColt.get().getMtbColr().iterator(), mtbDepoPosizione); cyclicGetOrdiniLavByCollo(mtbColt.get().getMtbColr().iterator(), mtbDepoPosizione);
}) })
.show(((AppCompatActivity) mContext).getSupportFragmentManager(), "tag"); .show(mContext.getSupportFragmentManager(), "tag");
return; return;
} }
MesRESTConsumer.getOrdiniLavorazioneMateriale( MesRESTConsumer.getOrdiniLavorazioneMateriale(
mtbDepoPosizione.getPosizione(), mtbDepoPosizione.getPosizione(),
getIdMaterialeFromCollo(mtbColt.get()), getIdMaterialeFromCollo(mtbColt.get()),
@ -148,7 +149,7 @@ public class ProdVersamentoMaterialViewModel {
e -> DialogSimpleMessageView.makeWarningDialog(new SpannableString(Html.fromHtml(e.getMessage())), e -> DialogSimpleMessageView.makeWarningDialog(new SpannableString(Html.fromHtml(e.getMessage())),
null, null,
this::openLU) this::openLU)
.show(((AppCompatActivity) mContext).getSupportFragmentManager(), "tag")); .show(mContext.getSupportFragmentManager(), "tag"));
} }
} else { } else {
DialogSimpleMessageView DialogSimpleMessageView

View File

@ -185,6 +185,8 @@ public class DialogInputQuantityV2ViewModel {
this.mListener.onError(ex); this.mListener.onError(ex);
onComplete.run(); onComplete.run();
}); });
} else {
onComplete.run();
} }
} }