mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-12 19:06:13 +02:00
fix temporary password not update right now when length changed
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
ea12eccc90
commit
fdd24dcb72
1 changed files with 3 additions and 0 deletions
|
@ -217,6 +217,9 @@ class ServerModel with ChangeNotifier {
|
|||
update = true;
|
||||
}
|
||||
if (_temporaryPasswordLength != temporaryPasswordLength) {
|
||||
if (_temporaryPasswordLength.isNotEmpty) {
|
||||
bind.mainUpdateTemporaryPassword();
|
||||
}
|
||||
_temporaryPasswordLength = temporaryPasswordLength;
|
||||
update = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue