mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02:00
refact: custom client, remove enable-check-update (#8092)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
3c502c6fc2
commit
986b9fb0e0
4 changed files with 19 additions and 15 deletions
|
@ -65,10 +65,12 @@ class _ConnectionPageState extends State<ConnectionPage> {
|
|||
}();
|
||||
}
|
||||
if (isAndroid) {
|
||||
Timer(const Duration(seconds: 1), () async {
|
||||
_updateUrl = await bind.mainGetSoftwareUpdateUrl();
|
||||
if (_updateUrl.isNotEmpty) setState(() {});
|
||||
});
|
||||
if (!bind.isCustomClient()) {
|
||||
Timer(const Duration(seconds: 1), () async {
|
||||
_updateUrl = await bind.mainGetSoftwareUpdateUrl();
|
||||
if (_updateUrl.isNotEmpty) setState(() {});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
_idController.addListener(() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue