From 4852fd42ada61ee2dc26c6583e37215259e2770c Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 8 Apr 2020 12:39:49 +0200 Subject: [PATCH] Clean up --- lib/components/audio_player.dart | 3 --- lib/components/list_items/message.dart | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/components/audio_player.dart b/lib/components/audio_player.dart index 48f50a3..feab917 100644 --- a/lib/components/audio_player.dart +++ b/lib/components/audio_player.dart @@ -1,5 +1,4 @@ import 'dart:async'; -import 'dart:io'; import 'dart:typed_data'; import 'package:famedlysdk/famedlysdk.dart'; @@ -31,8 +30,6 @@ class _AudioPlayerState extends State { FlutterSound flutterSound = FlutterSound(); StreamSubscription soundSubscription; - - static var httpClient = HttpClient(); Uint8List audioFile; String statusText = "00:00"; diff --git a/lib/components/list_items/message.dart b/lib/components/list_items/message.dart index 1013456..0d77aea 100644 --- a/lib/components/list_items/message.dart +++ b/lib/components/list_items/message.dart @@ -220,7 +220,7 @@ class _MetaRow extends StatelessWidget { Icon( event.statusIcon, size: 12, - color: invisible ? Colors.transparent : color, + color: color, ), ], );