mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-22 07:39:53 +01:00
Use new onSaveImageError() method for readability.
This commit is contained in:
@@ -180,7 +180,7 @@ public class ImageViewModel extends DbViewModel implements EventListener {
|
|||||||
@UiThread
|
@UiThread
|
||||||
void saveImage(AttachmentItem attachment, @Nullable Uri uri) {
|
void saveImage(AttachmentItem attachment, @Nullable Uri uri) {
|
||||||
if (uri == null) {
|
if (uri == null) {
|
||||||
saveState.setEvent(true);
|
onSaveImageError();
|
||||||
} else {
|
} else {
|
||||||
saveImage(attachment, () -> getOutputStream(uri), null);
|
saveImage(attachment, () -> getOutputStream(uri), null);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user