mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 08:58:55 +03:30
Improve navigation back
This commit is contained in:
@@ -117,13 +117,13 @@ class _PackageResultScreenState extends State<PackageResultScreen> {
|
||||
),
|
||||
backgroundColor: Colors.black,
|
||||
leading: IconButton(
|
||||
icon: Icon(
|
||||
Icons.keyboard_arrow_left,
|
||||
color: Colors.white,
|
||||
size: 35,
|
||||
),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
),
|
||||
icon: Icon(
|
||||
Icons.keyboard_arrow_left,
|
||||
color: Colors.white,
|
||||
size: 35,
|
||||
),
|
||||
onPressed: () =>
|
||||
Navigator.of(context).pushNamed(Routes.homePage)),
|
||||
),
|
||||
body: Consumer<ConnectivityProvider>(builder: (ct, connection, _) {
|
||||
return connection.conStatus != 'offline'
|
||||
|
||||
Reference in New Issue
Block a user