Update clock_in_bloc.dart
This commit is contained in:
@@ -284,6 +284,7 @@ class ClockInBloc extends Bloc<ClockInEvent, ClockInState>
|
||||
}
|
||||
|
||||
/// Starts the periodic time-window refresh timer.
|
||||
// TODO: Change this logic to more comprehensive logic based on the actual shift times instead of a fixed 30-second timer.
|
||||
void _startTimeWindowTimer() {
|
||||
_timeWindowTimer?.cancel();
|
||||
_timeWindowTimer = Timer.periodic(
|
||||
|
||||
Reference in New Issue
Block a user