mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-25 22:27:56 +00:00
CreateTemporaryPassword
This commit is contained in:
@@ -24,10 +24,11 @@ class SmartDoorBloc extends Bloc<SmartDoorEvent, SmartDoorState> {
|
||||
List<String>? selectedDay;
|
||||
|
||||
DateTime? startTime;
|
||||
DateTime? endTime ; // This sets the date to December 31, 2050.
|
||||
DateTime? endTime ;
|
||||
|
||||
|
||||
changeTime(val,isStartEndTime){
|
||||
emit(LoadingInitialState());
|
||||
if(isStartEndTime==true){
|
||||
startTime=val;
|
||||
}else{
|
||||
@@ -37,6 +38,7 @@ class SmartDoorBloc extends Bloc<SmartDoorEvent, SmartDoorState> {
|
||||
}
|
||||
|
||||
bool repeatFunction() {
|
||||
emit(LoadingInitialState());
|
||||
repeat = !repeat;
|
||||
emit(IsRepeatState());
|
||||
return repeat;
|
||||
@@ -195,10 +197,7 @@ class SmartDoorBloc extends Bloc<SmartDoorEvent, SmartDoorState> {
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
//["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
|
||||
|
||||
List<DayInWeek> days = [
|
||||
DayInWeek(
|
||||
"Sun",
|
||||
|
||||
Reference in New Issue
Block a user