登录页面样式
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:cashier_reserve/common/push/push.dart';
|
||||
import 'package:cashier_reserve/login/login_view.dart';
|
||||
|
||||
import '../base/ui.dart';
|
||||
@@ -38,13 +39,15 @@ class AppManager {
|
||||
Navigator.of(globalContext!).pop();
|
||||
}
|
||||
|
||||
showDialog(
|
||||
context: globalContext!,
|
||||
barrierDismissible: false,
|
||||
builder: (BuildContext context) {
|
||||
return WillPopScope(
|
||||
onWillPop: () => Future.value(false), child: const LoginView());
|
||||
});
|
||||
YJPush.presentWidget(globalContext!, const LoginView());
|
||||
|
||||
// showDialog(
|
||||
// context: globalContext!,
|
||||
// barrierDismissible: false,
|
||||
// builder: (BuildContext context) {
|
||||
// return WillPopScope(
|
||||
// onWillPop: () => Future.value(false), child: const LoginView());
|
||||
// });
|
||||
}
|
||||
|
||||
static void disposeLoginWidget() {
|
||||
@@ -54,4 +57,8 @@ class AppManager {
|
||||
static bool isShowLoginView() {
|
||||
return _isAlertLogin;
|
||||
}
|
||||
|
||||
static String getUserToken() {
|
||||
return HiveManager.getUserToken();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user