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 {
def appVersionCode = 213
def appVersionName = '1.16.31'
def appVersionCode = 214
def appVersionName = '1.16.32'
signingConfigs {
release {

View File

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

View File

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