TF-78 Implement mark as unread when touch the "eye slash" icon on the top of screen EmailView
This commit is contained in:
@@ -14,10 +14,10 @@ extension PresentationEmailExtension on PresentationEmail {
|
||||
return '';
|
||||
}
|
||||
|
||||
PresentationEmail markAsReadPresentationEmail({required bool isUnread}) {
|
||||
PresentationEmail markAsReadPresentationEmail(ReadActions readActions) {
|
||||
var newKeyWord = keywords;
|
||||
|
||||
if (isUnread) {
|
||||
if (readActions == ReadActions.markAsUnread) {
|
||||
newKeyWord?.removeWhere((key, value) => key == KeyWordIdentifier.emailSeen);
|
||||
} else {
|
||||
if (newKeyWord == null) {
|
||||
|
||||
Reference in New Issue
Block a user