From 199ceab5d45026746adbe0c36a22b4320e7face1 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 13 Jul 2021 15:13:19 +0300 Subject: [PATCH] Color theme improvements --- lib/modules/dashboard/dashboards_base.dart | 2 +- lib/modules/device/device_profiles_base.dart | 2 +- lib/modules/device/devices_base.dart | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/modules/dashboard/dashboards_base.dart b/lib/modules/dashboard/dashboards_base.dart index cc89a13..18bc2ff 100644 --- a/lib/modules/dashboard/dashboards_base.dart +++ b/lib/modules/dashboard/dashboards_base.dart @@ -161,7 +161,7 @@ class _DashboardGridCardState extends TbContextState { } else { image = SvgPicture.asset(ThingsboardImage.deviceProfilePlaceholder, color: Theme.of(context).primaryColor, - colorBlendMode: BlendMode.color, + colorBlendMode: BlendMode.overlay, semanticsLabel: 'Device'); imageFit = BoxFit.cover; } @@ -304,7 +304,7 @@ class _DeviceCardState extends TbContextState { } else { image = SvgPicture.asset(ThingsboardImage.deviceProfilePlaceholder, color: Theme.of(context).primaryColor, - colorBlendMode: BlendMode.color, + colorBlendMode: BlendMode.overlay, semanticsLabel: 'Device'); imageFit = BoxFit.cover; }