sync product to local
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:enaklo_pos/presentation/data_sync/pages/data_sync_page.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:enaklo_pos/data/datasources/auth_local_datasource.dart';
|
||||
@@ -9,7 +10,6 @@ import '../../core/components/buttons.dart';
|
||||
import '../../core/components/custom_text_field.dart';
|
||||
import '../../core/components/spaces.dart';
|
||||
import '../../core/constants/colors.dart';
|
||||
import '../home/pages/dashboard_page.dart';
|
||||
import 'bloc/login/login_bloc.dart';
|
||||
|
||||
class LoginPage extends StatefulWidget {
|
||||
@@ -104,7 +104,7 @@ class _LoginPageState extends State<LoginPage> {
|
||||
Navigator.pushReplacement(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => const DashboardPage(),
|
||||
builder: (context) => const DataSyncPage(),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user