-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
💥 Proposal
(A clear and concise description of what the proposal is.)
Have you read the Contributing Guidelines ?
(yes)
I have the idea of adding an icon to read the message for whoever the recipient sees from the sender !
in the form of the following:
//update read status of message
static Future updateMessageReadStatus(Message message) async {
firestore
.collection('chats/${getConversationID(message.fromId)}/messages/')
.doc(message.sent)
.update({'read': DateTime.now().millisecondsSinceEpoch.toString()});
}
if (widget.message.read.isNotEmpty)
const Icon(Icons.done_all_rounded, color: Colors.blue, size: 20),