feat: enhance Firebase messaging error logging and simplify BottomNavigationBarWidget by removing profileModel dependency

This commit is contained in:
mso7nueh
2026-01-14 16:09:07 +03:00
parent 41e96c63c6
commit c0032f7a95
6 changed files with 152 additions and 129 deletions

View File

@@ -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(