update rate
This commit is contained in:
@@ -85,9 +85,7 @@ class _NotificationListState extends State<NotificationList> {
|
||||
children: <Widget>[
|
||||
new Text(
|
||||
msg.receiverName,
|
||||
style: new TextStyle(
|
||||
fontSize: 15.0,
|
||||
color: primaryColor),
|
||||
style: new TextStyle(fontSize: 15.0),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -103,11 +101,14 @@ class _NotificationListState extends State<NotificationList> {
|
||||
children: <Widget>[
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Text(timeFormatter.format(msg.date)),
|
||||
child: Text(
|
||||
timeFormatter.format(msg.date),
|
||||
style: TextStyle(color: Colors.grey),
|
||||
),
|
||||
),
|
||||
msg.fromToday()
|
||||
? Container()
|
||||
: Text(dateFormatter.format(msg.date)),
|
||||
: Text(dateFormatter.format(msg.date),style: TextStyle(color: Colors.grey),),
|
||||
],
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user