opt like btn

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-24 15:41:14 +08:00
parent 1ce299919b
commit 16b38d1d3b
2 changed files with 12 additions and 2 deletions

View File

@@ -325,7 +325,12 @@ class _PgcReviewChildPageState extends State<PgcReviewChildPage>
SizedBox(
height: 32,
child: TextButton(
style: style,
style: const ButtonStyle(
visualDensity: .compact,
tapTargetSize: .shrinkWrap,
padding: WidgetStatePropertyAll(.zero),
minimumSize: WidgetStatePropertyAll(.square(40)),
),
onPressed: () => _controller.onDislike(
item,
isDislike,

View File

@@ -119,7 +119,12 @@ class ZanButtonGrpc extends StatelessWidget {
SizedBox(
height: 32,
child: TextButton(
style: style,
style: const ButtonStyle(
visualDensity: .compact,
tapTargetSize: .shrinkWrap,
padding: WidgetStatePropertyAll(.zero),
minimumSize: WidgetStatePropertyAll(.square(40)),
),
onPressed: () => onHateReply(
context,
isProcessing,