add default user image to theme

This commit is contained in:
Salvatore Giordano
2020-04-23 15:44:33 +02:00
parent 81ec083378
commit f4cedc2061
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),
),
);
}