Fix android system dns issues

Optimize dns default option

Fix some issues
This commit is contained in:
chen08209
2024-09-18 10:27:53 +08:00
parent 15c64327db
commit 3f0f7f051b
53 changed files with 276 additions and 221 deletions

View File

@@ -24,8 +24,8 @@ class _VpnContainerState extends State<VpnManager> {
showTip() {
vpnTipDebounce ??= debounce<Function()>(() async {
WidgetsBinding.instance.addPostFrameCallback((_) {
final appState = globalState.appController.appState;
if (appState.isStart) {
final appFlowingState = globalState.appController.appFlowingState;
if (appFlowingState.isStart) {
globalState.showSnackBar(
context,
message: appLocalizations.vpnTip,