From a659e3bb2e86115633e335b2ef5dede1731ac854 Mon Sep 17 00:00:00 2001 From: esefxdz Date: Mon, 27 Jul 2026 23:20:18 +0300 Subject: [PATCH] tiniest of fixes --- lib/components/connect_button.dart | 2 +- lib/logic/session_timer.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/components/connect_button.dart b/lib/components/connect_button.dart index c90498f..9b7a5bf 100644 --- a/lib/components/connect_button.dart +++ b/lib/components/connect_button.dart @@ -84,7 +84,7 @@ class _ConnectButtonState extends State return; } final ok = await vpn.connect(); - if (ok) timer.start('main_ad'); + if (ok) timer.start(); } finally { if (mounted) setState(() => _busy = false); } diff --git a/lib/logic/session_timer.dart b/lib/logic/session_timer.dart index 1fd88b6..8346c6d 100644 --- a/lib/logic/session_timer.dart +++ b/lib/logic/session_timer.dart @@ -88,7 +88,7 @@ class SessionTimer extends ChangeNotifier { } } - Future start(String adType) async { + Future start() async { _remainingSeconds = 0; _usedBytes = 0; _lastUsedBytes = 0; diff --git a/pubspec.yaml b/pubspec.yaml index 836ed68..11e5b8e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -30,7 +30,7 @@ dependencies: google_fonts: ^6.1.0 provider: ^6.1.1 google_mobile_ads: ^4.0.0 - flutter_vless: ^1.1.4 + flutter_vless: 1.1.4 http: ^1.6.0 shared_preferences: ^2.5.5 url_launcher: ^6.3.2