android/ios-adaption feature, markdown, and augment #6
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,7 @@ import 'package:markdown/markdown.dart' as md;
 | 
			
		|||
import 'api_service.dart';
 | 
			
		||||
import 'structs.dart';
 | 
			
		||||
import 'emailView.dart';
 | 
			
		||||
import 'Compose.dart';
 | 
			
		||||
 | 
			
		||||
class EmailListScreen extends StatefulWidget {
 | 
			
		||||
  final List<GetThreadResponse> emails;
 | 
			
		||||
| 
						 | 
				
			
			@ -193,6 +194,10 @@ class _EmailListScreenState extends State<EmailListScreen>
 | 
			
		|||
                print(email.messages); //email ids of the thread
 | 
			
		||||
                if (widget.folder == "Drafts") {
 | 
			
		||||
                  print("IN DRAFTS MOVE THE CONTENT TO THE WRITING THING");
 | 
			
		||||
                  //open the compose
 | 
			
		||||
                  OverlayService _thisInstance = OverlayService();
 | 
			
		||||
                  _thisInstance.draftID = email;
 | 
			
		||||
                  _thisInstance.showPersistentWidget(context);
 | 
			
		||||
                } else {
 | 
			
		||||
                  Navigator.push(
 | 
			
		||||
                    context,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue