From 326eb107a6fd3fec7a3d12f2f62940a882e9351b Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Tue, 17 Jan 2023 14:23:43 +0530 Subject: [PATCH] Update the size of bottom-overlay-icons --- lib/ui/viewer/file/file_icons_widget.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/ui/viewer/file/file_icons_widget.dart b/lib/ui/viewer/file/file_icons_widget.dart index ae9a19265..11ec540c5 100644 --- a/lib/ui/viewer/file/file_icons_widget.dart +++ b/lib/ui/viewer/file/file_icons_widget.dart @@ -23,7 +23,10 @@ class UnSyncedIcon extends StatelessWidget { @override Widget build(BuildContext context) { - return const _BottomLeftOverlayIcon(Icons.cloud_off_outlined); + return const _BottomLeftOverlayIcon( + Icons.cloud_off_outlined, + baseSize: 18, + ); } } @@ -186,7 +189,7 @@ class _BottomLeftOverlayIcon extends StatelessWidget { if (constraints.hasBoundedWidth) { final w = constraints.maxWidth; - if (w > 120) { + if (w > 125) { size = 24; } else if (w < 75) { inset = 3;