TF-1437 Only show subscribed mailbox in destination picker
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
|
||||
import 'package:model/mailbox/presentation_mailbox.dart';
|
||||
|
||||
extension ListPresentationMailboxExtension on List<PresentationMailbox> {
|
||||
|
||||
List<PresentationMailbox> get listSubscribedMailboxes =>
|
||||
where((mailbox) => mailbox.supportedSubscribe).toList();
|
||||
}
|
||||
Reference in New Issue
Block a user