diff --git a/lib/SonicEmailViewWeb.dart b/lib/SonicEmailViewWeb.dart index c1d6881..53ab936 100644 --- a/lib/SonicEmailViewWeb.dart +++ b/lib/SonicEmailViewWeb.dart @@ -101,6 +101,7 @@ class _SonicEmailViewState extends State { onJumpToNumbering: _scrollToNumber, onViewspecs: _handleViewspecs, onFiltering: _handleFiltering, + emails: [widget.email.name], subject: '', rootAugment: null, ), Row( // title of email diff --git a/lib/collapsableEmailsAndroid.dart b/lib/collapsableEmailsAndroid.dart index ae432e8..275eb6f 100644 --- a/lib/collapsableEmailsAndroid.dart +++ b/lib/collapsableEmailsAndroid.dart @@ -90,6 +90,11 @@ class _CollapsableEmailsState extends State { super.dispose(); } + + List getThreads() { + return widget.thread; + } + void _add2Tree(AugmentTree tree, md.Element node2add) { // adds node to its corresponding place AugmentTree newNode = AugmentTree(); diff --git a/lib/collapsableEmailsStub.dart b/lib/collapsableEmailsStub.dart index b523f71..e4ec443 100644 --- a/lib/collapsableEmailsStub.dart +++ b/lib/collapsableEmailsStub.dart @@ -9,13 +9,22 @@ class CollapsableEmails extends StatefulWidget { CollapsableEmails( {required this.thread, required this.threadMarkdown, - required this.threadIDs, String? targetJumpNumbering, String? targetViewspecs, String? targetFiltering}); + required this.threadIDs, String? targetJumpNumbering, String? targetViewspecs, String? targetFiltering, required String nameOfDocument}); + + get getThreads => null; + + get getAugmentRoot => null; @override State createState() => _CollapsableEmailsState(); } class _CollapsableEmailsState extends State { + + List getThreads() { + return widget.thread; + } + @override Widget build(BuildContext context) { return Scaffold(body: Text("collapsable stud")); diff --git a/lib/emailViewAndroid.dart b/lib/emailViewAndroid.dart index 9f81432..5ef2efd 100644 --- a/lib/emailViewAndroid.dart +++ b/lib/emailViewAndroid.dart @@ -66,6 +66,7 @@ class _EmailViewState extends State { onJumpToNumbering: _scrollToNumber, onViewspecs: _viewSpecs, onFiltering: _filteringQuery, + emails: widget.messages, subject: '', rootAugment: null, ), Row( children: [