From b94022ddb21b0b95b5397422eff1d840fa4d1750 Mon Sep 17 00:00:00 2001 From: Thomas Fransolet Date: Wed, 25 Aug 2021 17:30:48 +0200 Subject: [PATCH] remove border for language + change opacity --- lib/Screens/Configuration/config_view.dart | 2 +- lib/Screens/MainView/language_selection.dart | 2 +- lib/Screens/MainView/main_view.dart | 3 +-- lib/Screens/Menu/menu_view.dart | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/Screens/Configuration/config_view.dart b/lib/Screens/Configuration/config_view.dart index 3e9758a..098c418 100644 --- a/lib/Screens/Configuration/config_view.dart +++ b/lib/Screens/Configuration/config_view.dart @@ -280,7 +280,7 @@ boxDecoration(SectionDTO section) { borderRadius: BorderRadius.circular(30.0), image: new DecorationImage( fit: BoxFit.cover, - colorFilter: new ColorFilter.mode(Colors.black.withOpacity(0.6), BlendMode.dstATop), + colorFilter: new ColorFilter.mode(Colors.black.withOpacity(0.5), BlendMode.dstATop), image: new NetworkImage( section.imageSource, ), diff --git a/lib/Screens/MainView/language_selection.dart b/lib/Screens/MainView/language_selection.dart index 789bb0d..2c2886c 100644 --- a/lib/Screens/MainView/language_selection.dart +++ b/lib/Screens/MainView/language_selection.dart @@ -137,7 +137,7 @@ class _LanguageSelection extends State with TickerProviderSta return BoxDecoration( color: kBackgroundColor, shape: BoxShape.circle, - border: Border.all(width: 1.5, color: kSecondGrey), + //border: Border.all(width: 1.5, color: kSecondGrey), image: new DecorationImage( fit: BoxFit.contain, image: new AssetImage("assets/images/"+language+".png"), diff --git a/lib/Screens/MainView/main_view.dart b/lib/Screens/MainView/main_view.dart index a2673fb..1274b45 100644 --- a/lib/Screens/MainView/main_view.dart +++ b/lib/Screens/MainView/main_view.dart @@ -82,7 +82,6 @@ class _MainViewWidget extends State { height: size.height, width: size.width, color: appContext.getContext().configuration == null ? kBackgroundGrey : appContext.getContext().configuration.secondaryColor != null ? new Color(int.parse(appContext.getContext().configuration.secondaryColor.split('(0x')[1].split(')')[0], radix: 16)): kBackgroundGrey, - child: Column( children: [ Container( @@ -296,7 +295,7 @@ boxDecoration(SectionDTO section, bool isSelected) { borderRadius: BorderRadius.circular(30.0), image: section.imageSource != null ? new DecorationImage( fit: BoxFit.cover, - colorFilter: !isSelected? new ColorFilter.mode(Colors.black.withOpacity(0.35), BlendMode.dstATop) : null, + colorFilter: !isSelected? new ColorFilter.mode(Colors.black.withOpacity(0.5), BlendMode.dstATop) : null, image: new NetworkImage( section.imageSource, ), diff --git a/lib/Screens/Menu/menu_view.dart b/lib/Screens/Menu/menu_view.dart index 9f211f5..580b457 100644 --- a/lib/Screens/Menu/menu_view.dart +++ b/lib/Screens/Menu/menu_view.dart @@ -191,7 +191,7 @@ boxDecoration(SectionDTO section, bool isSelected) { borderRadius: BorderRadius.circular(30.0), image: section.imageSource != null ? new DecorationImage( fit: BoxFit.cover, - colorFilter: !isSelected? new ColorFilter.mode(Colors.black.withOpacity(0.35), BlendMode.dstATop) : null, + colorFilter: !isSelected? new ColorFilter.mode(Colors.black.withOpacity(0.5), BlendMode.dstATop) : null, image: new NetworkImage( section.imageSource, ),