Merge pull request #5346 from 21pages/fix
fix temporary password not update right now when length changed
This commit is contained in:
commit
544cb203ea
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