fix: Added correct icon in modal

This commit is contained in:
Deven Joshi
2021-01-11 16:20:42 +05:30
parent 43006b6184
commit 2879b491ff
4 changed files with 17 additions and 3 deletions
+1 -2
View File
@@ -575,9 +575,8 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
dense: true,
title: Row(
children: [
StreamSvgIcon.flag(
StreamSvgIcon.icon_flag(
color: StreamChatTheme.of(context).primaryIconTheme.color,
size: 23.0,
),
const SizedBox(width: 16),
Text(
+12
View File
@@ -877,4 +877,16 @@ class StreamSvgIcon extends StatelessWidget {
height: size,
);
}
factory StreamSvgIcon.icon_flag({
double size,
Color color,
}) {
return StreamSvgIcon(
assetName: 'icon_flag.svg',
color: color,
width: size,
height: size,
);
}
}