From 40067f5aa2ebe99433abcb9187b30078364e9431 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Fri, 19 Apr 2024 13:49:45 +0800 Subject: [PATCH] no countdown in scam warning of android for custom build --- flutter/lib/mobile/pages/server_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/lib/mobile/pages/server_page.dart b/flutter/lib/mobile/pages/server_page.dart index 120381ebe..a7bf12148 100644 --- a/flutter/lib/mobile/pages/server_page.dart +++ b/flutter/lib/mobile/pages/server_page.dart @@ -227,7 +227,7 @@ class ScamWarningDialog extends StatefulWidget { } class ScamWarningDialogState extends State { - int _countdown = 12; + int _countdown = bind.isCustomClient() ? 0 : 12; bool show_warning = false; late Timer _timer; late ServerModel _serverModel;