Alla pressione del tasto Annulla (DialogAskCliente) in picking libero non veniva chiuso il progress dialog.

This commit is contained in:
Giuseppe Scorrano 2019-12-20 16:45:57 +01:00
parent 3d895cae66
commit bb9846aaee

View File

@ -593,6 +593,8 @@ public class PickingLiberoViewModel implements IRecyclerItemClicked<MtbColr> {
DialogAskCliente.makeBase(mContext, (status, result) -> { DialogAskCliente.makeBase(mContext, (status, result) -> {
if(status == DialogConsts.Results.YES) { if(status == DialogConsts.Results.YES) {
createNewLUInternal(customNumCollo, customSerCollo, result, progressDialog, onComplete, onFailed); createNewLUInternal(customNumCollo, customSerCollo, result, progressDialog, onComplete, onFailed);
} else {
onFailed.run();
} }
}).show(); }).show();
} else { } else {