change page navigation
This commit is contained in:
@@ -98,7 +98,7 @@ class _ReceivingListState extends State<ReceivingList> {
|
||||
_newReceiving() {
|
||||
Navigator.push(
|
||||
context,
|
||||
BottomUpPageRoute(ReceivingEditor()),
|
||||
CupertinoPageRoute(builder: (context) => ReceivingEditor()),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -108,7 +108,8 @@ class _ReceivingListState extends State<ReceivingList> {
|
||||
if (_package == null) return;
|
||||
Navigator.push(
|
||||
context,
|
||||
BottomUpPageRoute(ReceivingInfo(package: _package)),
|
||||
CupertinoPageRoute(
|
||||
builder: (context) => ReceivingInfo(package: _package)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user