mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Improve comments appearance
This commit is contained in:
		@@ -58,6 +58,7 @@ class CommentTile extends StatelessWidget {
 | 
			
		||||
          child: comment.hasContent
 | 
			
		||||
              ? Text(
 | 
			
		||||
                  comment.content,
 | 
			
		||||
                  style: TextStyle(color: Colors.black),
 | 
			
		||||
                )
 | 
			
		||||
              : null,
 | 
			
		||||
        ),
 | 
			
		||||
@@ -78,11 +79,14 @@ class CommentTile extends StatelessWidget {
 | 
			
		||||
 | 
			
		||||
  /// Build like button associated to this post
 | 
			
		||||
  Widget _buildLikeButton() {
 | 
			
		||||
    return Align(
 | 
			
		||||
    return Padding(
 | 
			
		||||
      padding: const EdgeInsets.only(top: 4.0, bottom: 4.0),
 | 
			
		||||
      child: Align(
 | 
			
		||||
        alignment: AlignmentDirectional.topStart,
 | 
			
		||||
      child: FlatButton(
 | 
			
		||||
        padding: EdgeInsets.only(left: 0.0),
 | 
			
		||||
        onPressed: () => onUpdateLike(comment),
 | 
			
		||||
        child: Column(
 | 
			
		||||
          children: <Widget>[
 | 
			
		||||
            InkWell(
 | 
			
		||||
              onTap: () => onUpdateLike(comment),
 | 
			
		||||
              child: Row(
 | 
			
		||||
                children: <Widget>[
 | 
			
		||||
                  Icon(
 | 
			
		||||
@@ -97,6 +101,9 @@ class CommentTile extends StatelessWidget {
 | 
			
		||||
                ],
 | 
			
		||||
              ),
 | 
			
		||||
            ),
 | 
			
		||||
          ],
 | 
			
		||||
        ),
 | 
			
		||||
      ),
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user