Skip to content

Commit

Permalink
Fix Navigation Bar name
Browse files Browse the repository at this point in the history
  • Loading branch information
moisessc committed May 1, 2021
1 parent 850215e commit ab90596
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/facebook_ui/screens/screen_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:provider/provider.dart';

import '../data/local_providers.dart';
import '../theme/theme_state.dart';
import '../widgets/bottom_menu_bar.dart';
import '../widgets/navigation_bar.dart';
import './home_screen.dart';
import './settings_screen.dart';

Expand Down Expand Up @@ -31,7 +31,7 @@ class ScreenController extends StatelessWidget {
const SettingsScreen(),
],
),
BottomMenuBar(
NavigationBar(
showBar: bottomBarState.showBottomBar,
selectedIndex: screensState.page,
),
Expand Down
4 changes: 2 additions & 2 deletions lib/facebook_ui/widgets/navigation_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const _duration = Duration(milliseconds: 400);
const double _bottomBarHide = -100.0;
const double _bottomBarShow = 0.0;

class BottomMenuBar extends StatelessWidget {
const BottomMenuBar({
class NavigationBar extends StatelessWidget {
const NavigationBar({
Key? key,
this.showBar = true,
required this.selectedIndex,
Expand Down

0 comments on commit ab90596

Please sign in to comment.