Merge pull request #814 from ente-io/overlay_icon_sizes

Update the size of bottom-overlay-icons
This commit is contained in:
Vishnu Mohandas 2023-01-17 14:30:19 +05:30 committed by GitHub
commit 738ca61699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;