forked from eatvio/eatvio_app
feat: enhance Firebase messaging error logging and simplify BottomNavigationBarWidget by removing profileModel dependency
This commit is contained in:
@@ -32,14 +32,7 @@ class MainNavigationRoutes {
|
||||
});
|
||||
}
|
||||
|
||||
return BlocBuilder<ProfileAvatarCubit, ProfileAvatarState>(
|
||||
builder: (BuildContext context, ProfileAvatarState state) {
|
||||
if (state is ProfileAvatarStateLoaded) {
|
||||
return BottomNavigationBarWidget(profileModel: state.profile, child: child);
|
||||
}
|
||||
return const SizedBox.shrink();
|
||||
},
|
||||
);
|
||||
return BottomNavigationBarWidget(child: child);
|
||||
},
|
||||
routes: [
|
||||
GoRoute(
|
||||
|
||||
Reference in New Issue
Block a user