add default user image to theme

This commit is contained in:
Salvatore Giordano
2020-04-23 15:26:55 +02:00
parent 019d0aded8
commit 3d40193f9a
4 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class UserAvatar extends StatelessWidget {
},
fit: BoxFit.cover,
)
: SizedBox(),
: StreamChatTheme.of(context).defaultUserImage(context, user),
),
);
}