mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-10-31 03:57:27 +01:00 
			
		
		
		
	chore: Minor design improvements
This commit is contained in:
		
							parent
							
								
									06581e21e9
								
							
						
					
					
						commit
						d4dbe83c69
					
				| @ -59,7 +59,7 @@ class _DefaultAppBarSearchFieldState extends State<DefaultAppBarSearchField> { | ||||
|   Widget build(BuildContext context) { | ||||
|     return Container( | ||||
|       height: 40, | ||||
|       padding: EdgeInsets.only(right: 16), | ||||
|       padding: EdgeInsets.only(right: 12), | ||||
|       child: Material( | ||||
|         color: Theme.of(context).secondaryHeaderColor, | ||||
|         borderRadius: BorderRadius.circular(32), | ||||
|  | ||||
| @ -308,23 +308,8 @@ class _ChatListState extends State<ChatList> { | ||||
|                                 ); | ||||
|                               } | ||||
|                               final totalCount = rooms.length; | ||||
|                               return ListView.separated( | ||||
|                               return ListView.builder( | ||||
|                                 controller: _scrollController, | ||||
|                                 separatorBuilder: | ||||
|                                     (BuildContext context, int i) => | ||||
|                                         i == totalCount | ||||
|                                             ? ListTile( | ||||
|                                                 title: Text( | ||||
|                                                   L10n.of(context).publicRooms + | ||||
|                                                       ':', | ||||
|                                                   style: TextStyle( | ||||
|                                                     fontWeight: FontWeight.bold, | ||||
|                                                     color: Theme.of(context) | ||||
|                                                         .primaryColor, | ||||
|                                                   ), | ||||
|                                                 ), | ||||
|                                               ) | ||||
|                                             : Container(), | ||||
|                                 itemCount: totalCount, | ||||
|                                 itemBuilder: (BuildContext context, int i) => | ||||
|                                     ChatListItem( | ||||
|  | ||||
| @ -154,7 +154,7 @@ class _DiscoverPageState extends State<DiscoverPage> { | ||||
|             ); | ||||
|           } | ||||
|           return GridView.builder( | ||||
|             padding: EdgeInsets.all(16), | ||||
|             padding: EdgeInsets.all(12), | ||||
|             gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( | ||||
|               crossAxisCount: 2, | ||||
|               childAspectRatio: 1, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Christian Pauly
						Christian Pauly