From 1052278029cb1722590e3090c709d4115d6af4ab Mon Sep 17 00:00:00 2001 From: PhyoThandar Date: Wed, 14 Oct 2020 13:57:27 +0630 Subject: [PATCH] merge --- lib/pages/box/box_editor.dart | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/pages/box/box_editor.dart b/lib/pages/box/box_editor.dart index 2a38149..9e6c2e8 100644 --- a/lib/pages/box/box_editor.dart +++ b/lib/pages/box/box_editor.dart @@ -540,7 +540,9 @@ class _BoxEditorState extends State { titleKey: "box.cargo_type", onTap: () async { Cargo cargo = await Navigator.push( - context, BottomUpPageRoute(CargoTypeEditor())); + context, + CupertinoPageRoute( + builder: (context) => CargoTypeEditor())); if (cargo != null) { setState(() { _box.cargoTypes.add(cargo); @@ -584,9 +586,10 @@ class _BoxEditorState extends State { onTap: () async { DeliveryAddress d = await Navigator.push( context, - BottomUpPageRoute(DeliveryAddressSelection( - deliveryAddress: _deliveryAddress, - )), + CupertinoPageRoute( + builder: (context) => DeliveryAddressSelection( + deliveryAddress: _deliveryAddress, + )), ); if (d == null) return; setState(() {