From bb791445d184f3bd5bb4dfc79aafd662262c21c8 Mon Sep 17 00:00:00 2001 From: Stanislav Ilin Date: Sat, 23 Nov 2024 14:14:15 +0500 Subject: [PATCH] Fix static analysis issues --- .../talker_flutter/lib/src/ui/theme/talker_screen_theme.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/talker_flutter/lib/src/ui/theme/talker_screen_theme.dart b/packages/talker_flutter/lib/src/ui/theme/talker_screen_theme.dart index 20a9371d..e1d23d48 100644 --- a/packages/talker_flutter/lib/src/ui/theme/talker_screen_theme.dart +++ b/packages/talker_flutter/lib/src/ui/theme/talker_screen_theme.dart @@ -45,7 +45,7 @@ class TalkerScreenTheme { extension MapTalkerFlutterColorsExt on LogColors { Color getByType(TalkerLogType type) { - return this[type] ?? Colors.grey; + return this[type.key] ?? Colors.grey; } }