mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-03 19:54:12 +00:00 
			
		
		
		
	Improve show more comments button
This commit is contained in:
		@@ -380,11 +380,14 @@ class _PostTileState extends State<PostTile> {
 | 
				
			|||||||
    );
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Widget _buildShowMoreCommentsButton() => InkWell(
 | 
					  Widget _buildShowMoreCommentsButton() => Material(
 | 
				
			||||||
        onTap: () => setState(() => _maxNumberOfCommentToShow += 10),
 | 
					        color: Colors.transparent,
 | 
				
			||||||
        child: Padding(
 | 
					        child: InkWell(
 | 
				
			||||||
          padding: const EdgeInsets.all(8.0),
 | 
					          onTap: () => setState(() => _maxNumberOfCommentToShow += 10),
 | 
				
			||||||
          child: Text(tr("Show more comments")),
 | 
					          child: Padding(
 | 
				
			||||||
 | 
					            padding: const EdgeInsets.all(8.0),
 | 
				
			||||||
 | 
					            child: Text(tr("Show more comments").toUpperCase()),
 | 
				
			||||||
 | 
					          ),
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user