ソースを参照

消息失败发送提示色改为红色,同时减少间距

master
zdc 5年前
コミット
df12eab70c
1個のファイルの変更3行の追加3行の削除
  1. +3
    -3
      lib/home/send_msg_state.dart

+ 3
- 3
lib/home/send_msg_state.dart ファイルの表示

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


読み込み中…
キャンセル
保存