Fix download button: show only download icon without text
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user