private async Task ChooseImage(TaskCellModel taskCellModel) { var result = await _imageChooser.GetPhotoAsync(); if (result == null) { return; } if (result == Stream.Null) { result = null; } try { taskCellModel.SetImage(result); } catch (Exception e) { _dialogs.ShowError(e.Message); return; } }