diff --git a/refilc/lib/api/providers/live_card_provider.dart b/refilc/lib/api/providers/live_card_provider.dart index 61751295..2e9e0f41 100644 --- a/refilc/lib/api/providers/live_card_provider.dart +++ b/refilc/lib/api/providers/live_card_provider.dart @@ -409,8 +409,8 @@ class LiveCardProvider extends ChangeNotifier { currentState == LiveCardState.night) && hasActivityStarted && nextLesson != null && - nextLesson!.start.difference(now).inMinutes > 60) { - debugPrint("Több, mint 1 óra van az első óráig. Befejezés..."); + nextLesson!.start.difference(now).inMinutes > 120) { + debugPrint("Több, mint 2 óra van az első óráig. Befejezés..."); PlatformChannel.endLiveActivity(); serverSync.unregister(); hasActivityStarted = false;