Merge pull request #5650 from fufesou/fix/capitalization_style
fix, some case-style mismatch issues in the same option group
This commit is contained in:
		
						commit
						c6d617f190
					
				| @ -1407,13 +1407,11 @@ class _KeyboardMenu extends StatelessWidget { | ||||
|     return futureBuilder(future: () async { | ||||
|       final v = | ||||
|           await bind.sessionGetReverseMouseWheel(sessionId: ffi.sessionId); | ||||
|           debugPrint('REMOVE ME ======================== $v'); | ||||
|       if (v != null && v != '') { | ||||
|         return v; | ||||
|       } | ||||
|       return bind.mainGetUserDefaultOption(key: 'reverse_mouse_wheel'); | ||||
|     }(), hasData: (data) { | ||||
|       debugPrint('REMOVE ME ======================== data $data'); | ||||
|       final enabled = !ffi.ffiModel.viewOnly; | ||||
|       onChanged(bool? value) async { | ||||
|         if (value == null) return; | ||||
|  | ||||
| @ -78,5 +78,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = | ||||
|         ("push_ab_failed_tip", "Failed to sync address book to server"), | ||||
|         ("synced_peer_readded_tip", "The devices that were present in the recent sessions will be synchronized back to the address book."), | ||||
|         ("View Mode", "View mode"), | ||||
|         ("Block user input", "Block User Input"), | ||||
|         ("Start session recording", "Start Session Recording"), | ||||
|         ("Stop session recording", "Stop Session Recording"), | ||||
|         ("Enable remote configuration modification", "Enable Remote Configuration Modification"), | ||||
|         ].iter().cloned().collect(); | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user