Skip to content

Commit

Permalink
fixup! Added presentation layer for taking a photo or video
Browse files Browse the repository at this point in the history
  • Loading branch information
KhaledNjim committed Jul 5, 2024
1 parent c0592e1 commit 7c8c3ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/presentation/util/media_picker_from_camera.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ class MediaPickerFromCamera {
onEntitySaving: ((context, viewType, file) {
fileinfo = FileInfo(file.path.split('/').last,
'${file.parent.path}/', file.lengthSync());
Navigator.pop(context);
Navigator.pop(context);
}),
textDelegate: cameraPickerTextDelegateFromLocale(
Localizations.localeOf(context)),
Expand Down

0 comments on commit 7c8c3ae

Please sign in to comment.