mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
update style
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:qinglong_app/base/routes.dart';
|
||||
|
||||
class QlNavigatorObserver extends NavigatorObserver {
|
||||
bool isInLoginPage = false;
|
||||
|
||||
@override
|
||||
void didPush(Route route, Route? previousRoute) {
|
||||
super.didPush(route, previousRoute);
|
||||
if (Routes.routeLogin == route.settings.name) {
|
||||
isInLoginPage = true;
|
||||
} else {
|
||||
isInLoginPage = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user