v3.2.0 — DPI hardening, notification consolidation, disconnect refactor
User-Agent spoofed to Chrome on Android (was Dart/3.x). Domain renamed to userevolt.app. Branding to Revolt VPN. Removed duplicate notification, patched flutter_vless for custom icon + dark background. Merged 5 disconnect paths into single idempotent gate, fixed stopVless timeout silently lying about state. Removed kDebugMode guard from AdMob bypass.
This commit is contained in:
1 parent
cf50c3a01b
commit
54f949ca8e
20 files changed
+552
-402
No files matched your search
@@ -2,16 +2,6 @@ import 'package:flutter/material.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
import 'package:revoltvpn/logic/app_colors.dart';
|
||||
|
||||
// ── lib/screens/settings/in_settings/haptic.dart ────────────────────────────
|
||||
// Toggle for light haptic feedback on successful connect/disconnect.
|
||||
//
|
||||
// Top-level bool (hapticEnabled) is read synchronously by connect_button.dart —
|
||||
// no await, no SharedPreferences lookup on every tap. The tile loads the
|
||||
// persisted value once and keeps the global in sync on every toggle.
|
||||
//
|
||||
// SharedPreferences key: haptic_feedback_enabled (default: false — off).
|
||||
|
||||
// lib/components/connect_button.dart reads this directly. Keep it exported.
|
||||
bool hapticEnabled = false;
|
||||
|
||||
class HapticFeedbackTile extends StatefulWidget {
|
||||
|
||||
Reference in new issue
Block a user