add basic testing for channel_preview widget

This commit is contained in:
Salvatore Giordano
2020-09-21 12:47:48 +02:00
parent d36ecffe1f
commit d3811b72ce
4 changed files with 57 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class TypingIndicator extends StatelessWidget {
builder: (context, snapshot) {
return AnimatedSwitcher(
duration: Duration(milliseconds: 300),
child: snapshot.data.isNotEmpty
child: snapshot.data?.isNotEmpty == true
? Align(
key: Key('typings'),
alignment: alignment,