File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,8 @@ class _SingleAssetPageState extends State<SingleAssetPage> {
93
93
return GestureDetector (
94
94
behavior: HitTestBehavior .opaque,
95
95
onTap: () async {
96
- final AssetEntity result = await CameraPicker .pickFromCamera (
96
+ final AssetEntity result =
97
+ await CameraPicker .pickFromCamera (
97
98
context,
98
99
isAllowRecording: true ,
99
100
);
Original file line number Diff line number Diff line change @@ -506,10 +506,12 @@ class AssetPicker extends StatelessWidget {
506
506
width: Screens .width,
507
507
height: maxHeight,
508
508
decoration: BoxDecoration (
509
- borderRadius: isAppleOS ? const BorderRadius .only (
510
- bottomLeft: Radius .circular (10.0 ),
511
- bottomRight: Radius .circular (10.0 ),
512
- ) : null ,
509
+ borderRadius: isAppleOS
510
+ ? const BorderRadius .only (
511
+ bottomLeft: Radius .circular (10.0 ),
512
+ bottomRight: Radius .circular (10.0 ),
513
+ )
514
+ : null ,
513
515
color: theme.colorScheme.background,
514
516
),
515
517
child: Selector <AssetPickerProvider ,
You can’t perform that action at this time.
0 commit comments