Fix download button: show only download icon without text

This commit is contained in:
Leon Bösche
2026-01-25 01:16:38 +01:00
parent cbb18854da
commit b819fee208

View File

@@ -260,14 +260,7 @@ class _PublicFileViewerState extends State<PublicFileViewer> {
padding: const EdgeInsets.only(left: 16, top: 4),
child: ModernGlassButton(
onPressed: _downloadFile,
child: const Row(
mainAxisSize: MainAxisSize.min,
children: [
Icon(Icons.download, size: 18),
SizedBox(width: 8),
Text('Download'),
],
),
child: const Icon(Icons.download, size: 18),
),
)
: null,