mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 22:04:54 +00:00
Fixed navigation issue
This commit is contained in:
@ -21,7 +21,7 @@ class DefaultNavBar extends StatelessWidget {
|
||||
onTap: (int index) {
|
||||
cubit.updatePageIndex(index, context);
|
||||
if (DevicesCubit.get(context).chosenCategoryView != null) {
|
||||
Navigator.pop(context);
|
||||
DevicesCubit().clearCategoriesSelection(context);
|
||||
}
|
||||
},
|
||||
currentIndex: cubit.getPageIndex,
|
||||
|
||||
Reference in New Issue
Block a user