File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -454,7 +454,11 @@ class _MultiAssetsPageState extends State<MultiAssetsPage> {
454
454
Widget get selectedAssetsWidget => AnimatedContainer (
455
455
duration: kThemeChangeDuration,
456
456
curve: Curves .easeInOut,
457
- height: assets.isNotEmpty ? isDisplayingDetail ? 120.0 : 80.0 : 40.0 ,
457
+ height: assets.isNotEmpty
458
+ ? isDisplayingDetail
459
+ ? 120.0
460
+ : 80.0
461
+ : 40.0 ,
458
462
child: Column (
459
463
children: < Widget > [
460
464
SizedBox (
Original file line number Diff line number Diff line change @@ -426,7 +426,11 @@ class _SingleAssetPageState extends State<SingleAssetPage> {
426
426
Widget get selectedAssetsWidget => AnimatedContainer (
427
427
duration: kThemeChangeDuration,
428
428
curve: Curves .easeInOut,
429
- height: assets.isNotEmpty ? isDisplayingDetail ? 120.0 : 80.0 : 40.0 ,
429
+ height: assets.isNotEmpty
430
+ ? isDisplayingDetail
431
+ ? 120.0
432
+ : 80.0
433
+ : 40.0 ,
430
434
child: Column (
431
435
children: < Widget > [
432
436
SizedBox (
Original file line number Diff line number Diff line change @@ -514,7 +514,9 @@ class AssetPicker extends StatelessWidget {
514
514
duration: switchingPathDuration,
515
515
curve: switchingPathCurve,
516
516
top: isAppleOS
517
- ? ! isSwitchingPath ? - maxHeight : appBarHeight
517
+ ? ! isSwitchingPath
518
+ ? - maxHeight
519
+ : appBarHeight
518
520
: - (! isSwitchingPath ? maxHeight : 1.0 ),
519
521
child: AnimatedOpacity (
520
522
duration: switchingPathDuration,
You can’t perform that action at this time.
0 commit comments