mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +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
|
||||
void saveImage(AttachmentItem attachment, @Nullable Uri uri) {
|
||||
if (uri == null) {
|
||||
saveState.setEvent(true);
|
||||
onSaveImageError();
|
||||
} else {
|
||||
saveImage(attachment, () -> getOutputStream(uri), null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user