mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 18:16:21 +00:00
apend
This commit is contained in:
@ -97,7 +97,7 @@ class HomeCubit extends Cubit<HomeState> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unselectRoom() {
|
unselectRoom() {
|
||||||
selectedRoom = null;
|
// selectedRoom = null;
|
||||||
devicesPageController.animateToPage(
|
devicesPageController.animateToPage(
|
||||||
0,
|
0,
|
||||||
duration: duration,
|
duration: duration,
|
||||||
@ -113,6 +113,7 @@ class HomeCubit extends Cubit<HomeState> {
|
|||||||
emitSafe(RoomUnSelected());
|
emitSafe(RoomUnSelected());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//////////////////////////////////////// API ////////////////////////////////////////
|
||||||
fetchSpaces() async {
|
fetchSpaces() async {
|
||||||
emitSafe(GetSpacesLoading());
|
emitSafe(GetSpacesLoading());
|
||||||
try {
|
try {
|
||||||
@ -142,7 +143,7 @@ class HomeCubit extends Cubit<HomeState> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////Nav////////////////////////////////////////
|
/////////////////////////////////////// Nav ///////////////////////////////////////
|
||||||
|
|
||||||
static clear() {
|
static clear() {
|
||||||
pageIndex = 0;
|
pageIndex = 0;
|
||||||
|
Reference in New Issue
Block a user