Adjust padding and icon size for download button in PublicFileViewer
This commit is contained in:
@@ -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)),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user