update style

This commit is contained in:
jyuesong
2022-01-19 09:15:31 +08:00
parent 0a2e9a3c09
commit ca6f1db16f
11 changed files with 46 additions and 67 deletions

View File

@@ -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;
}
}
}