Skip to content

Commit

Permalink
Renamed LoginPage to LoginScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
Teifun2 committed Dec 6, 2020
1 parent a5c07a9 commit e3d5cb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import 'package:nextcloud_cookbook_flutter/src/blocs/recipes_short/recipes_short
import 'package:nextcloud_cookbook_flutter/src/screens/category_screen.dart';
import 'package:nextcloud_cookbook_flutter/src/screens/loading_screen.dart';

import './src/screens/login_page.dart';
import './src/screens/login_screen.dart';
import './src/screens/splash_screen.dart';
import './src/services/user_repository.dart';
import 'src/blocs/authentication/authentication.dart';
Expand Down Expand Up @@ -64,7 +64,7 @@ class App extends StatelessWidget {
}
return CategoryScreen();
} else if (state is AuthenticationUnauthenticated) {
return LoginPage();
return LoginScreen();
} else if (state is AuthenticationLoading) {
return LoadingScreen();
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import '../blocs/authentication/authentication_bloc.dart';
import '../blocs/login/login_bloc.dart';
import 'form/login_form.dart';

class LoginPage extends StatelessWidget {
class LoginScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
Expand Down

0 comments on commit e3d5cb6

Please sign in to comment.