merge
This commit is contained in:
@@ -540,7 +540,9 @@ class _BoxEditorState extends State<BoxEditor> {
|
|||||||
titleKey: "box.cargo_type",
|
titleKey: "box.cargo_type",
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
Cargo cargo = await Navigator.push<Cargo>(
|
Cargo cargo = await Navigator.push<Cargo>(
|
||||||
context, BottomUpPageRoute(CargoTypeEditor()));
|
context,
|
||||||
|
CupertinoPageRoute(
|
||||||
|
builder: (context) => CargoTypeEditor()));
|
||||||
if (cargo != null) {
|
if (cargo != null) {
|
||||||
setState(() {
|
setState(() {
|
||||||
_box.cargoTypes.add(cargo);
|
_box.cargoTypes.add(cargo);
|
||||||
@@ -584,7 +586,8 @@ class _BoxEditorState extends State<BoxEditor> {
|
|||||||
onTap: () async {
|
onTap: () async {
|
||||||
DeliveryAddress d = await Navigator.push<DeliveryAddress>(
|
DeliveryAddress d = await Navigator.push<DeliveryAddress>(
|
||||||
context,
|
context,
|
||||||
BottomUpPageRoute(DeliveryAddressSelection(
|
CupertinoPageRoute(
|
||||||
|
builder: (context) => DeliveryAddressSelection(
|
||||||
deliveryAddress: _deliveryAddress,
|
deliveryAddress: _deliveryAddress,
|
||||||
)),
|
)),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user