mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-30 17:38:40 +00:00 
			
		
		
		
	fix: add more padding in bottom sheet widget (#4542)
This commit is contained in:
		
							parent
							
								
									ea93f0e141
								
							
						
					
					
						commit
						f1e380c276
					
				| @ -114,12 +114,10 @@ Future<T?> showMobileBottomSheet<T>( | |||||||
|         return children.first; |         return children.first; | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       // not full-screen mode |       // add default padding | ||||||
|       if (MediaQuery.of(context).padding.bottom == 0) { |  | ||||||
|       children.add( |       children.add( | ||||||
|           const VSpace(16), |         VSpace(MediaQuery.of(context).padding.bottom == 0 ? 28.0 : 16.0), | ||||||
|       ); |       ); | ||||||
|       } |  | ||||||
| 
 | 
 | ||||||
|       return SafeArea( |       return SafeArea( | ||||||
|         child: Column( |         child: Column( | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Lucas.Xu
						Lucas.Xu