Skip to content

Commit

Permalink
fix: pp and name (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevithakannan2 authored Oct 24, 2024
1 parent df779f0 commit 5ee7af4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/screens/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class HomeScreenState extends State<HomeScreen> {
@override
void initState() {
super.initState();
_user = FirebaseAuth.instance.currentUser;
_user = _authService.currentUser;
}

void _showDetailsDialog(Map<String, dynamic> request) {
Expand Down
1 change: 0 additions & 1 deletion lib/screens/login_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ class _LoginScreenState extends State<LoginScreen> {
}

void _navigateToHomePage() {
_authService.signOut();
Navigator.pushReplacement(
context,
MaterialPageRoute(builder: (context) => const HomeScreen()),
Expand Down

0 comments on commit 5ee7af4

Please sign in to comment.