TF-145 Implement LoadMoreEmails in ThreadView
This commit is contained in:
@@ -8,7 +8,7 @@ import 'package:jmap_dart_client/jmap/core/extensions/unsigned_int_extension.dar
|
||||
|
||||
extension ListEmailExtension on List<Email> {
|
||||
|
||||
Email? findEmail(EmailId emailId) {
|
||||
Email? findEmailById(EmailId emailId) {
|
||||
try {
|
||||
return firstWhere((email) => email.id == emailId);
|
||||
} catch (e) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
extension ListExtension<T> on List<T>? {
|
||||
|
||||
List<T>? union(List<T>? other) {
|
||||
List<T>? unite(List<T>? other) {
|
||||
if (other != null) {
|
||||
this?.addAll(other);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user