From 44f0ce502eb58b33bd745db7218fbec1cec0467b Mon Sep 17 00:00:00 2001 From: poppingmoon <63451158+poppingmoon@users.noreply.github.com> Date: Sun, 30 Jun 2024 21:05:53 +0900 Subject: [PATCH] fix: clip background of note preview Added clip behavior to `Card` to apply a circular border to the preview of the note even if a background color is specified. --- lib/view/page/post_page.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/view/page/post_page.dart b/lib/view/page/post_page.dart index af3f4b254..d0024ece0 100644 --- a/lib/view/page/post_page.dart +++ b/lib/view/page/post_page.dart @@ -193,6 +193,7 @@ class PostPage extends HookConsumerWidget { color: colors.panel, elevation: 0.0, margin: const EdgeInsets.all(8.0), + clipBehavior: Clip.antiAlias, child: request.isRenote ? NoteWidget( account: account.value,