fix: Added correct icon in modal
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user