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.
|
/// 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() {
|
void _startTimeWindowTimer() {
|
||||||
_timeWindowTimer?.cancel();
|
_timeWindowTimer?.cancel();
|
||||||
_timeWindowTimer = Timer.periodic(
|
_timeWindowTimer = Timer.periodic(
|
||||||
|
|||||||
Reference in New Issue
Block a user