From 4a6529dca2d2e7e359f42dde4afdd409c15f726d Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 4 Jun 2022 13:42:33 +0200 Subject: [PATCH] chore: Update share_plus --- lib/pages/chat/events/message_download_content.dart | 2 +- lib/pages/chat_list/chat_list_header.dart | 2 +- lib/pages/image_viewer/image_viewer_view.dart | 2 +- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pages/chat/events/message_download_content.dart b/lib/pages/chat/events/message_download_content.dart index f49e90bf..28f86953 100644 --- a/lib/pages/chat/events/message_download_content.dart +++ b/lib/pages/chat/events/message_download_content.dart @@ -47,7 +47,7 @@ class MessageDownloadContent extends StatelessWidget { ? IconButton( onPressed: () => event.shareFile(context), tooltip: L10n.of(context)!.share, - icon: const Icon(Icons.share), + icon: Icon(Icons.adaptive.share_outlined), ) : null, ), diff --git a/lib/pages/chat_list/chat_list_header.dart b/lib/pages/chat_list/chat_list_header.dart index d6b27878..83e758aa 100644 --- a/lib/pages/chat_list/chat_list_header.dart +++ b/lib/pages/chat_list/chat_list_header.dart @@ -137,7 +137,7 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget { child: Row( mainAxisSize: MainAxisSize.min, children: [ - const Icon(Icons.share_outlined), + Icon(Icons.adaptive.share_outlined), const SizedBox(width: 12), Text(L10n.of(context)!.inviteContact), ], diff --git a/lib/pages/image_viewer/image_viewer_view.dart b/lib/pages/image_viewer/image_viewer_view.dart index ef841f36..94e29e9b 100644 --- a/lib/pages/image_viewer/image_viewer_view.dart +++ b/lib/pages/image_viewer/image_viewer_view.dart @@ -44,7 +44,7 @@ class ImageViewerView extends StatelessWidget { onPressed: controller.shareFileAction, tooltip: L10n.of(context)!.share, color: Colors.white, - icon: const Icon(Icons.share), + icon: Icon(Icons.adaptive.share_outlined), ) ], ), diff --git a/pubspec.lock b/pubspec.lock index cbccdc3b..fefd972f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1054,7 +1054,7 @@ packages: name: mime url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.2" move_to_background: dependency: transitive description: @@ -1457,7 +1457,7 @@ packages: name: share_plus url: "https://pub.dartlang.org" source: hosted - version: "4.0.4" + version: "4.0.6" share_plus_linux: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index ceff3c7c..e2f8c479 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -75,7 +75,7 @@ dependencies: salomon_bottom_bar: ^3.2.0 scroll_to_index: ^2.1.1 sentry: ^6.3.0 - share_plus: ^4.0.4 + share_plus: ^4.0.6 shared_preferences: ^2.0.13 slugify: ^2.0.0 snapping_sheet: ^3.1.0