From 9e90ff408b1d86ea7bd399b1e8f1540f96451ff3 Mon Sep 17 00:00:00 2001 From: Lezd Date: Tue, 29 Aug 2023 01:44:46 +0900 Subject: [PATCH 1/2] fix dart analysis --- .../entities/stream_elements/se_activity.dart | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/src/domain/entities/stream_elements/se_activity.dart b/lib/src/domain/entities/stream_elements/se_activity.dart index 7c3fb16a..38658303 100644 --- a/lib/src/domain/entities/stream_elements/se_activity.dart +++ b/lib/src/domain/entities/stream_elements/se_activity.dart @@ -91,6 +91,12 @@ class SeActivity extends Equatable { //circle color colors.add(const Color(0xFF2E0219)); break; + case ActivityType.unsupported: + //background color + colors.add(const Color(0xFFA47CED)); + //circle color + colors.add(const Color(0xFF341D5B)); + break; } return colors; } @@ -122,6 +128,9 @@ class SeActivity extends Equatable { case ActivityType.host: s = '$amount Hosted viewers'; break; + case ActivityType.unsupported: + s = 'Unsupported event'; + break; } return s; } @@ -165,6 +174,12 @@ class SeActivity extends Equatable { size: 18, ); break; + case ActivityType.unsupported: + icon = const Icon( + Icons.block, + size: 18, + ); + break; } return icon; } From b1b0308ace4ec4e308a69fe8780bdf724df262d5 Mon Sep 17 00:00:00 2001 From: Lezd Date: Tue, 29 Aug 2023 12:47:20 +0900 Subject: [PATCH 2/2] 1.8.4 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index ed36eff8..6116e464 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.8.3+33 +version: 1.8.4+34 environment: sdk: '>=2.19.0-0 <4.0.0'