TF-79 Mark as star/unstar in email detailed view
This commit is contained in:
@@ -77,4 +77,13 @@ class EmailDataSourceImpl extends EmailDataSource {
|
||||
throw error;
|
||||
});
|
||||
}
|
||||
|
||||
@override
|
||||
Future<bool> markAsImportant(AccountId accountId, EmailId emailId, ImportantAction importantAction) {
|
||||
return Future.sync(() async {
|
||||
return await emailAPI.markAsImportant(accountId, emailId, importantAction);
|
||||
}).catchError((error) {
|
||||
throw error;
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user