diff --git a/lib/Screens/Menu/menu_view.dart b/lib/Screens/Menu/menu_view.dart index 4d20592..5f40aba 100644 --- a/lib/Screens/Menu/menu_view.dart +++ b/lib/Screens/Menu/menu_view.dart @@ -127,7 +127,7 @@ class _MenuView extends State { color: menuDTO.sections![index].imageSource == null ? kBackgroundColor : null, // default color if no image shape: BoxShape.rectangle, image: menuDTO.sections![index].imageSource != null || menuDTO.sections![index].type == SectionType.Video ? new DecorationImage( - fit: BoxFit.cover, + fit: BoxFit.contain, // contain or cover ? image: ImageCustomProvider.getImageProvider(appContext, menuDTO.sections![index].imageId, menuDTO.sections![index].type == SectionType.Video ? getYoutubeThumbnailUrl(menuDTO.sections![index]) : menuDTO.sections![index].imageSource!), ): null, ),