fix: stale timer flash on reconnect — reset _hasSyncedOnce in _stopInternal
This commit is contained in:
1 parent
6d58aca01b
commit
10a1450292
1 file changed
+1
@@ -345,6 +345,7 @@ class SessionTimer extends ChangeNotifier {
|
|||||||
_timer?.cancel();
|
_timer?.cancel();
|
||||||
_timer = null;
|
_timer = null;
|
||||||
_currentSpeedKBps = 0.0;
|
_currentSpeedKBps = 0.0;
|
||||||
|
_hasSyncedOnce = false;
|
||||||
VpnNotificationManager.cancel();
|
VpnNotificationManager.cancel();
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user