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:
		
						commit
						8a08a0211f
					
				| @ -39,8 +39,6 @@ class ServerModel with ChangeNotifier { | |||||||
| 
 | 
 | ||||||
|   late String _emptyIdShow; |   late String _emptyIdShow; | ||||||
|   late final IDTextEditingController _serverId; |   late final IDTextEditingController _serverId; | ||||||
|   final _serverPasswd = |  | ||||||
|       TextEditingController(text: translate("Generating ...")); |  | ||||||
| 
 | 
 | ||||||
|   final tabController = DesktopTabController(tabType: DesktopTabType.cm); |   final tabController = DesktopTabController(tabType: DesktopTabType.cm); | ||||||
| 
 | 
 | ||||||
| @ -64,6 +62,9 @@ class ServerModel with ChangeNotifier { | |||||||
| 
 | 
 | ||||||
|   int get connectStatus => _connectStatus; |   int get connectStatus => _connectStatus; | ||||||
| 
 | 
 | ||||||
|  |   TextEditingController get _serverPasswd => | ||||||
|  |       TextEditingController(text: translate("Generating ...")); | ||||||
|  | 
 | ||||||
|   String get verificationMethod { |   String get verificationMethod { | ||||||
|     final index = [ |     final index = [ | ||||||
|       kUseTemporaryPassword, |       kUseTemporaryPassword, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user