fix: Minor design issues
This commit is contained in:
		@ -167,8 +167,9 @@ class ChatListItem extends StatelessWidget {
 | 
				
			|||||||
                  ? Padding(
 | 
					                  ? Padding(
 | 
				
			||||||
                      padding: const EdgeInsets.only(left: 4.0),
 | 
					                      padding: const EdgeInsets.only(left: 4.0),
 | 
				
			||||||
                      child: Icon(
 | 
					                      child: Icon(
 | 
				
			||||||
                        Icons.favorite_outline_rounded,
 | 
					                        Icons.favorite_rounded,
 | 
				
			||||||
                        size: 16,
 | 
					                        size: 16,
 | 
				
			||||||
 | 
					                        color: Theme.of(context).primaryColor,
 | 
				
			||||||
                      ),
 | 
					                      ),
 | 
				
			||||||
                    )
 | 
					                    )
 | 
				
			||||||
                  : Container(),
 | 
					                  : Container(),
 | 
				
			||||||
@ -198,13 +199,21 @@ class ChatListItem extends StatelessWidget {
 | 
				
			|||||||
          subtitle: Row(
 | 
					          subtitle: Row(
 | 
				
			||||||
            mainAxisAlignment: MainAxisAlignment.center,
 | 
					            mainAxisAlignment: MainAxisAlignment.center,
 | 
				
			||||||
            children: <Widget>[
 | 
					            children: <Widget>[
 | 
				
			||||||
              if (room.typingUsers.isEmpty && ownMessage) ...{
 | 
					              if (typingText.isEmpty && ownMessage) ...{
 | 
				
			||||||
                Icon(
 | 
					                Icon(
 | 
				
			||||||
                  room.lastEvent.statusIcon,
 | 
					                  room.lastEvent.statusIcon,
 | 
				
			||||||
                  size: 14,
 | 
					                  size: 14,
 | 
				
			||||||
                ),
 | 
					                ),
 | 
				
			||||||
                SizedBox(width: 4),
 | 
					                SizedBox(width: 4),
 | 
				
			||||||
              },
 | 
					              },
 | 
				
			||||||
 | 
					              if (typingText.isNotEmpty) ...{
 | 
				
			||||||
 | 
					                Icon(
 | 
				
			||||||
 | 
					                  Icons.edit,
 | 
				
			||||||
 | 
					                  color: Theme.of(context).primaryColor,
 | 
				
			||||||
 | 
					                  size: 14,
 | 
				
			||||||
 | 
					                ),
 | 
				
			||||||
 | 
					                SizedBox(width: 4),
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
              Expanded(
 | 
					              Expanded(
 | 
				
			||||||
                child: typingText.isNotEmpty
 | 
					                child: typingText.isNotEmpty
 | 
				
			||||||
                    ? Text(
 | 
					                    ? Text(
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user