This commit is contained in:
Mohammad Salameh
2024-04-04 15:51:58 +03:00
parent 8c80283f9c
commit af7b497cdb

View File

@ -97,7 +97,7 @@ class HomeCubit extends Cubit<HomeState> {
}
unselectRoom() {
selectedRoom = null;
// selectedRoom = null;
devicesPageController.animateToPage(
0,
duration: duration,
@ -113,6 +113,7 @@ class HomeCubit extends Cubit<HomeState> {
emitSafe(RoomUnSelected());
}
//////////////////////////////////////// API ////////////////////////////////////////
fetchSpaces() async {
emitSafe(GetSpacesLoading());
try {
@ -142,7 +143,7 @@ class HomeCubit extends Cubit<HomeState> {
}
}
////////////////////////////////////////Nav////////////////////////////////////////
/////////////////////////////////////// Nav ///////////////////////////////////////
static clear() {
pageIndex = 0;