no countdown in scam warning of android for custom build

This commit is contained in:
rustdesk 2024-04-19 13:49:45 +08:00
parent 1ffc10e44f
commit 40067f5aa2

View File

@ -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;