Merge pull request #5346 from 21pages/fix
fix temporary password not update right now when length changed
This commit is contained in:
commit
544cb203ea
@ -217,6 +217,9 @@ class ServerModel with ChangeNotifier {
|
||||
update = true;
|
||||
}
|
||||
if (_temporaryPasswordLength != temporaryPasswordLength) {
|
||||
if (_temporaryPasswordLength.isNotEmpty) {
|
||||
bind.mainUpdateTemporaryPassword();
|
||||
}
|
||||
_temporaryPasswordLength = temporaryPasswordLength;
|
||||
update = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user