|
@@ -21,12 +21,12 @@ class _SendMsgStateState extends State<SendMsgState> { |
|
|
|
|
|
|
|
|
if (msg.state == MsgState.SendingFailed) {
|
|
|
if (msg.state == MsgState.SendingFailed) {
|
|
|
return Padding(
|
|
|
return Padding(
|
|
|
padding: EdgeInsets.only(right: 10),
|
|
|
|
|
|
|
|
|
padding: EdgeInsets.only(right: 5),
|
|
|
child: Icon(Icons.error_outline,
|
|
|
child: Icon(Icons.error_outline,
|
|
|
size: 12, color: Color(0xFFc0c0c0)));
|
|
|
|
|
|
|
|
|
size: 12, color: Colors.red));
|
|
|
} else if (msg.state <= MsgState.Sending) {
|
|
|
} else if (msg.state <= MsgState.Sending) {
|
|
|
return Padding(
|
|
|
return Padding(
|
|
|
padding: EdgeInsets.only(right: 10),
|
|
|
|
|
|
|
|
|
padding: EdgeInsets.only(right: 5),
|
|
|
child: Icon(
|
|
|
child: Icon(
|
|
|
IconData(0xe657, fontFamily: Constants.IconFontFamily),
|
|
|
IconData(0xe657, fontFamily: Constants.IconFontFamily),
|
|
|
size: 12,
|
|
|
size: 12,
|
|
|