tiniest of fixes
This commit is contained in:
1 parent
2086f9ded2
commit
a659e3bb2e
3 files changed
+3
-3
No files matched your search
@@ -84,7 +84,7 @@ class _ConnectButtonState extends State<ConnectButton>
|
||||
return;
|
||||
}
|
||||
final ok = await vpn.connect();
|
||||
if (ok) timer.start('main_ad');
|
||||
if (ok) timer.start();
|
||||
} finally {
|
||||
if (mounted) setState(() => _busy = false);
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ class SessionTimer extends ChangeNotifier {
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> start(String adType) async {
|
||||
Future<void> start() async {
|
||||
_remainingSeconds = 0;
|
||||
_usedBytes = 0;
|
||||
_lastUsedBytes = 0;
|
||||
|
||||
Reference in new issue
Block a user