only enable_soft_keyboard in CustomAlertDialog on android
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
		
							parent
							
								
									ee50eccda0
								
							
						
					
					
						commit
						3d5273b7fd
					
				| @ -848,7 +848,7 @@ class CustomAlertDialog extends StatelessWidget { | ||||
|       if (!scopeNode.hasFocus) scopeNode.requestFocus(); | ||||
|     }); | ||||
|     bool tabTapped = false; | ||||
|     if (isMobile) gFFI.invokeMethod("enable_soft_keyboard", true); | ||||
|     if (isAndroid) gFFI.invokeMethod("enable_soft_keyboard", true); | ||||
| 
 | ||||
|     return FocusScope( | ||||
|       node: scopeNode, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user