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