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(() {