diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 68e3047..3e65124 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -117,12 +117,11 @@ jobs: build-windows: runs-on: windows-latest - permissions: - contents: write + steps: - uses: actions/checkout@v4 with: - ref: dev + ref: master - name: Setup Flutter uses: subosito/flutter-action@v2 diff --git a/ios/Podfile.lock b/ios/Podfile.lock index d5de430..490b405 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -17,8 +17,6 @@ PODS: - FlutterMacOS - permission_handler_apple (9.3.0): - Flutter - - share_extend (0.0.1): - - Flutter - share_plus (0.0.1): - Flutter - sqflite (0.0.3): @@ -52,7 +50,6 @@ DEPENDENCIES: - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`) - - share_extend (from `.symlinks/plugins/share_extend/ios`) - share_plus (from `.symlinks/plugins/share_plus/ios`) - sqflite (from `.symlinks/plugins/sqflite/darwin`) - sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/ios`) @@ -76,8 +73,6 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/path_provider_foundation/darwin" permission_handler_apple: :path: ".symlinks/plugins/permission_handler_apple/ios" - share_extend: - :path: ".symlinks/plugins/share_extend/ios" share_plus: :path: ".symlinks/plugins/share_plus/ios" sqflite: @@ -95,7 +90,6 @@ SPEC CHECKSUMS: package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46 permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2 - share_extend: b6748dc53695587891126a89533b862b92548c7b share_plus: 8875f4f2500512ea181eef553c3e27dba5135aad sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec sqlite3: 0bb0e6389d824e40296f531b858a2a0b71c0d2fb diff --git a/lib/app_bar/webview_tab_app_bar.dart b/lib/app_bar/webview_tab_app_bar.dart index 64f530b..6570096 100644 --- a/lib/app_bar/webview_tab_app_bar.dart +++ b/lib/app_bar/webview_tab_app_bar.dart @@ -19,7 +19,6 @@ import 'package:flutter_font_icons/flutter_font_icons.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart'; import 'package:path_provider/path_provider.dart'; import 'package:provider/provider.dart'; -import 'package:share_extend/share_extend.dart'; import 'package:share_plus/share_plus.dart'; import '../animated_flutter_browser_logo.dart'; @@ -1308,7 +1307,7 @@ class _WebViewTabAppBarState extends State ElevatedButton( child: const Text("Share"), onPressed: () async { - await ShareExtend.share(file.path, "image"); + await Share.shareXFiles([XFile(file.path)]); }, ) ], diff --git a/pubspec.lock b/pubspec.lock index 83c1741..db3399f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -584,14 +584,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.1.9" - share_extend: - dependency: "direct main" - description: - name: share_extend - sha256: "98c26f04abae42b0d2080102a42a2653a867a4bec862be1e921cb0cf7cc00916" - url: "https://pub.dev" - source: hosted - version: "2.0.0" share_plus: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 384c138..d67b4cd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -33,6 +33,10 @@ dependencies: flutter: sdk: flutter + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.8 + # For material you. dynamic_color: ^1.7.0 @@ -42,10 +46,8 @@ dependencies: permission_handler: ^11.3.1 provider: ^6.1.2 share_plus: ^10.0.2 - share_extend: ^2.0.0 # charts_flutter: ^0.9.0 crypto: ^3.0.5 - # shared_preferences: ^2.3.2 package_info_plus: ^8.0.2 # flutter_icons: ^1.1.0 flutter_font_icons: ^2.2.7 @@ -60,10 +62,6 @@ dependencies: window_manager: ^0.4.2 context_menus: ^2.0.0+1 multi_window: ^0.2.0 - - # The following adds the Cupertino Icons font to your application. - # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^1.0.8 sqflite: ^2.3.3+2 sqflite_common_ffi: ^2.3.3+1 sqlite3_flutter_libs: ^0.5.24