Finish v1.32.07(347)
This commit is contained in:
commit
95807fbfbc
@ -10,8 +10,8 @@ apply plugin: 'com.google.gms.google-services'
|
||||
|
||||
android {
|
||||
|
||||
def appVersionCode = 346
|
||||
def appVersionName = '1.32.06'
|
||||
def appVersionCode = 347
|
||||
def appVersionName = '1.32.07'
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
|
||||
@ -280,6 +280,12 @@ public class DocInterniEditFormActivity extends BaseActivity implements DocInter
|
||||
this.closeEdit();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDocDeleted() {
|
||||
this.binding.closeActivityFab.close(true);
|
||||
this.closeEdit();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDocExported() {
|
||||
runOnUiThread(() -> {
|
||||
|
||||
@ -115,13 +115,10 @@ public class DocInterniEditFormViewModel {
|
||||
|
||||
public void deleteDocument() {
|
||||
this.sendOnLoadingStarted();
|
||||
docInterniRESTConsumer.saveDoc(this.getSaveDto(), () -> {
|
||||
SqlMtbColt document = this.getDocument();
|
||||
document.setCodDtip(document.getCodDtipProvv());
|
||||
mtbColtRepository.update(document, doc -> {
|
||||
mtbColtRepository.delete(document, () -> {
|
||||
this.sendOnLoadingEnded();
|
||||
this.listener.onDocExported();
|
||||
}, this::sendError);
|
||||
this.listener.onDocDeleted();
|
||||
}, this::sendError);
|
||||
}
|
||||
|
||||
@ -341,6 +338,8 @@ public class DocInterniEditFormViewModel {
|
||||
|
||||
void onDocumentHoldRequest();
|
||||
|
||||
void onDocDeleted();
|
||||
|
||||
void onDocExported();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user