Fixed logout issue

This commit is contained in:
Abdullah Alassaf
2024-05-18 23:45:23 +03:00
parent 19ce38173b
commit 0f75c3def1
10 changed files with 69 additions and 88 deletions

View File

@ -17,9 +17,7 @@ class AppLayout extends StatelessWidget {
child: BlocBuilder<HomeCubit, HomeState>(
builder: (context, state) {
return DefaultScaffold(
appBar: HomeCubit.getInstance().spaces != null
? const DefaultAppBar()
: null,
appBar: HomeCubit.getInstance().spaces != null ? const DefaultAppBar() : null,
bottomNavBar: const DefaultNavBar(),
child: const AppBody(),
);