From cc8d7d24f9112e101f4d647a9be27dbcc9ad630a Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Fri, 8 May 2020 16:56:07 +0200 Subject: [PATCH] Update flutter_email_sender --- lib/widgets/app_drawer.dart | 2 +- pubspec.lock | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/widgets/app_drawer.dart b/lib/widgets/app_drawer.dart index e9f1dfd3..ff33e8ef 100644 --- a/lib/widgets/app_drawer.dart +++ b/lib/widgets/app_drawer.dart @@ -214,7 +214,7 @@ class AppDrawer extends StatelessWidget { "Hey!\n\nI found a bug in GitJournal - \n \n\nVersion: $versionText\nPlatform: $platform", subject: 'GitJournal Bug', recipients: ['bugs@gitjournal.io'], - attachmentPath: appLogsFilePath, + attachmentPaths: [appLogsFilePath], ); await FlutterEmailSender.send(email); diff --git a/pubspec.lock b/pubspec.lock index e8e74c8b..54ef8595 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -257,7 +257,7 @@ packages: name: flutter_email_sender url: "https://pub.dartlang.org" source: hosted - version: "2.2.2" + version: "3.0.1" flutter_emoji: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 274ebab3..923b134d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -23,7 +23,7 @@ dependencies: launch_review: ^2.0.0 device_info: ^0.4.1+4 flutter_markdown: ^0.3.2 - flutter_email_sender: ^2.0.3 + flutter_email_sender: ^3.0.1 function_types: ^0.0.2 auto_size_text: ^2.0.1 fimber: ^0.3.0