Adjust padding and icon size for download button in PublicFileViewer

This commit is contained in:
Leon Bösche
2026-01-25 16:40:02 +01:00
parent 1c1606d61d
commit a451ae8a98

View File

@@ -312,13 +312,13 @@ class _PublicFileViewerState extends State<PublicFileViewer> {
elevation: 0,
leading: _fileData != null
? Padding(
padding: const EdgeInsets.only(left: 8, top: 8, bottom: 4),
padding: const EdgeInsets.only(left: 6, top: 6, bottom: 6),
child: ModernGlassButton(
onPressed: _downloadFile,
padding: EdgeInsets.zero,
child: SizedBox(
width: 104,
child: const Center(child: Icon(Icons.download, size: 28)),
child: const Center(child: Icon(Icons.download, size: 26)),
),
),
)