Skip to content

Commit

Permalink
Fix saving files from ASICS containers
Browse files Browse the repository at this point in the history
  • Loading branch information
martenrebane committed Jul 2, 2024
1 parent aa16323 commit 64c343e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ public void onAttachedToWindow() {
disposables.add(adapter.scrollToTop().subscribe(ignored -> listView.scrollToPosition(0)));
disposables.add(adapter.documentSaveClicks().subscribe(document ->
documentSaveIntentSubject.onNext(DocumentSaveIntent
.create((nestedFile != null && isSivaConfirmed) ? nestedFile : containerFile, document, isSivaConfirmed))));
.create((nestedFile != null && SignedContainer.isContainer(getContext(), nestedFile) && isSivaConfirmed) ? nestedFile : containerFile, document, isSivaConfirmed))));
disposables.add(adapter.signatureClicks().subscribe(signature ->
signatureViewIntentSubject.onNext(SignatureViewIntent
.create(containerFile, signature, isSivaConfirmed))));
Expand Down

0 comments on commit 64c343e

Please sign in to comment.