cleared console problems
This commit is contained in:
@@ -29,7 +29,7 @@ class _LoginTabletPageState extends State<LoginTabletPage> {
|
||||
|
||||
void _viewModelListener() {
|
||||
if (viewModel.loggedInUser != null) {
|
||||
Router.neglect(context, () => HomeRouteData().go(context));
|
||||
Router.neglect(context, () => const HomeRouteData().go(context));
|
||||
}
|
||||
if (viewModel.errorMessage != null) {
|
||||
AppToast.error(context, viewModel.errorMessage!);
|
||||
@@ -84,7 +84,7 @@ class _LoginTabletPageState extends State<LoginTabletPage> {
|
||||
),
|
||||
SizedBox(height: 32.0.h()),
|
||||
if (viewModel.isLoading)
|
||||
BaseButton(
|
||||
const BaseButton(
|
||||
isEnabled: false,
|
||||
onPressed: null,
|
||||
isLoading: true,
|
||||
|
||||
Reference in New Issue
Block a user