From 6e6ce8c7f3d57ed562de503e3865678185be6934 Mon Sep 17 00:00:00 2001 From: groovinchip Date: Mon, 2 Aug 2021 14:44:36 -0400 Subject: [PATCH] test: fix mid-lerp test in channel_header_theme_test.dart --- .../test/src/theme/channel_header_theme_test.dart | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/stream_chat_flutter/test/src/theme/channel_header_theme_test.dart b/packages/stream_chat_flutter/test/src/theme/channel_header_theme_test.dart index de9803b7..475b1084 100644 --- a/packages/stream_chat_flutter/test/src/theme/channel_header_theme_test.dart +++ b/packages/stream_chat_flutter/test/src/theme/channel_header_theme_test.dart @@ -26,7 +26,7 @@ void main() { expect( const ChannelHeaderThemeData() .lerp(_channelThemeControl, _channelThemeControlDark, 0.5), - _channelThemeControlDark); + _channelThemeControlMidLerp); }); test( @@ -70,10 +70,14 @@ final _channelThemeControlMidLerp = ChannelHeaderThemeData( width: 40, ), ), - color: ColorTheme.light().barsBg, - titleStyle: TextTheme.light().headlineBold, + color: const Color(0xff101418), + titleStyle: const TextStyle( + color: Color(0xffffffff), + fontWeight: FontWeight.bold, + fontSize: 16, + ), subtitleStyle: TextTheme.light().footnote.copyWith( - color: const Color(0xff7A7A7A), + color: const Color(0xff7a7a7a), ), );