Sensitive content blur

This commit is contained in:
2024-11-13 21:36:28 +08:00
parent b9ad6d4fd0
commit 4884d04a51
8 changed files with 144 additions and 38 deletions

View File

@ -28,6 +28,9 @@ class AttachmentDetailPopup extends StatelessWidget {
tag: 'attachment-${data.rid}-${heroTag ?? uuid.v4()}',
child: PhotoView(
key: Key('attachment-detail-${data.rid}-$heroTag'),
backgroundDecoration: BoxDecoration(
color: Colors.black.withOpacity(0.7),
),
imageProvider: UniversalImage.provider(
sn.getAttachmentUrl(data.rid),
),