Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

no countdown in scam warning of android for custom build

rustdesk40067f5aa2eb
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<ScamWarningDialog> {
- int _countdown = 12;
+ int _countdown = bind.isCustomClient() ? 0 : 12;
bool show_warning = false;
late Timer _timer;
late ServerModel _serverModel;