Merge pull request #5547 from dignow/refact/ios_1.2.2_dummy_session_get_rgba

use get to call translate()
This commit is contained in:
RustDesk 2023-08-30 14:59:46 +08:00 committed by GitHub
commit 8a08a0211f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,8 +39,6 @@ class ServerModel with ChangeNotifier {
late String _emptyIdShow;
late final IDTextEditingController _serverId;
final _serverPasswd =
TextEditingController(text: translate("Generating ..."));
final tabController = DesktopTabController(tabType: DesktopTabType.cm);
@ -64,6 +62,9 @@ class ServerModel with ChangeNotifier {
int get connectStatus => _connectStatus;
TextEditingController get _serverPasswd =>
TextEditingController(text: translate("Generating ..."));
String get verificationMethod {
final index = [
kUseTemporaryPassword,