Adjust padding for leading ModernGlassButton in PublicFileViewer

This commit is contained in:
Leon Bösche
2026-01-25 16:25:44 +01:00
parent 26fa1712ec
commit 6121acdc4b

View File

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