From 0ad7fa07c1219f7f084bc594612467f9ae9d354a Mon Sep 17 00:00:00 2001 From: Bruno D'Luka Date: Sun, 2 Jul 2023 21:13:48 -0300 Subject: [PATCH] Format files --- system_theme_web/lib/system_theme_web.dart | 10 +++++----- test/system_theme_test.dart | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/system_theme_web/lib/system_theme_web.dart b/system_theme_web/lib/system_theme_web.dart index 3a3b73e..7b0ec9a 100644 --- a/system_theme_web/lib/system_theme_web.dart +++ b/system_theme_web/lib/system_theme_web.dart @@ -28,10 +28,10 @@ class SystemThemeWeb { e?.style.backgroundColor = currentBackgroundColor; if (backgroundColor != null) { backgroundColor = backgroundColor - .replaceAll('rgb(', '') - .replaceAll(')', '') - .replaceAll(' ', ''); - final rgb = backgroundColor.split(','); + .replaceAll('rgb(', '') + .replaceAll(')', '') + .replaceAll(' ', ''); + final rgb = backgroundColor.split(','); return { 'accent': { 'R': int.parse(rgb[0]), @@ -40,7 +40,7 @@ class SystemThemeWeb { } }; } - + return null; } } diff --git a/test/system_theme_test.dart b/test/system_theme_test.dart index ce90d37..45065a3 100644 --- a/test/system_theme_test.dart +++ b/test/system_theme_test.dart @@ -13,7 +13,7 @@ void main() { expect(kDefaultFallbackColor.toString(), color); }); }); - + tearDown(() { TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger .setMockMethodCallHandler(channel, null);