diff --git a/lib/provider/receive_sharing_intent_provider.dart b/lib/provider/receive_sharing_intent_provider.dart index 73791b39..f63ab701 100644 --- a/lib/provider/receive_sharing_intent_provider.dart +++ b/lib/provider/receive_sharing_intent_provider.dart @@ -9,12 +9,12 @@ part 'receive_sharing_intent_provider.g.dart'; Stream> receiveSharingIntent( ReceiveSharingIntentRef ref, ) async* { - final files = await ReceiveSharingIntent.getInitialMedia(); + final files = await ReceiveSharingIntent.instance.getInitialMedia(); if (files.isNotEmpty) { ref.read(shareNotifierProvider.notifier).markNeedRedirect(); yield files; } - await for (final files in ReceiveSharingIntent.getMediaStream()) { + await for (final files in ReceiveSharingIntent.instance.getMediaStream()) { if (files.isNotEmpty) { ref.read(shareNotifierProvider.notifier).markNeedRedirect(); yield files; diff --git a/lib/provider/receive_sharing_intent_provider.g.dart b/lib/provider/receive_sharing_intent_provider.g.dart index c4553d20..b698dd7e 100644 --- a/lib/provider/receive_sharing_intent_provider.g.dart +++ b/lib/provider/receive_sharing_intent_provider.g.dart @@ -7,7 +7,7 @@ part of 'receive_sharing_intent_provider.dart'; // ************************************************************************** String _$receiveSharingIntentHash() => - r'42f97f792ec4a3f90e1a73959a08a87da59c27b5'; + r'b3b165dc14e9767a73218fdb81657d57e5e0af09'; /// See also [receiveSharingIntent]. @ProviderFor(receiveSharingIntent) diff --git a/pubspec.lock b/pubspec.lock index c6f5c330..7acd3cf1 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -213,10 +213,10 @@ packages: dependency: "direct main" description: name: chewie - sha256: "1fc84d88d3b1dc26b1fe799500e2ebcc8916af30ce62595ad802cfd965b60bc3" + sha256: e53da939709efb9aad0f3d72a69a8d05f889168b7a138af60ce78bab5c94b135 url: "https://pub.dev" source: hosted - version: "1.8.0" + version: "1.8.1" ci: dependency: transitive description: @@ -724,10 +724,10 @@ packages: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: b068ffc46f82a55844acfa4fdbb61fad72fa2aef0905548419d97f0f95c456da + sha256: "592dc01a18961a51c24ae5d963b724b2b7fa4a95c100fe8eb6ca8a5a4732cadf" url: "https://pub.dev" source: hosted - version: "2.0.17" + version: "2.0.18" flutter_riverpod: dependency: transitive description: @@ -814,10 +814,10 @@ packages: dependency: "direct dev" description: name: freezed - sha256: "57247f692f35f068cae297549a46a9a097100685c6780fe67177503eea5ed4e5" + sha256: "91bce569d4805ea5bad6619a3e8690df8ad062a235165af4c0c5d928dda15eaf" url: "https://pub.dev" source: hosted - version: "2.4.7" + version: "2.5.1" freezed_annotation: dependency: "direct main" description: @@ -859,10 +859,10 @@ packages: dependency: "direct main" description: name: go_router - sha256: "5ed2687bc961f33a752017ccaa7edead3e5601b28b6376a5901bf24728556b85" + sha256: f6ba8eed5fa831e461122de577d4a26674a1d836e2956abe6c0f6c4d952e6673 url: "https://pub.dev" source: hosted - version: "13.2.2" + version: "13.2.3" graphs: dependency: transitive description: @@ -1258,18 +1258,18 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: "7e76fad405b3e4016cd39d08f455a4eb5199723cf594cd1b8916d47140d93017" + sha256: "2c582551839386fa7ddbc7770658be7c0f87f388a4bff72066478f597c34d17f" url: "https://pub.dev" source: hosted - version: "4.2.0" + version: "7.0.0" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - sha256: "9bc8ba46813a4cc42c66ab781470711781940780fd8beddd0c3da62506d3a6c6" + sha256: f49918f3433a3146047372f9d4f1f847511f2acd5cd030e1f44fe5a50036b70e url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "3.0.0" path: dependency: transitive description: @@ -1306,10 +1306,10 @@ packages: dependency: transitive description: name: path_provider_android - sha256: "477184d672607c0a3bf68fbbf601805f92ef79c82b64b4d6eb318cbca4c48668" + sha256: "51f0d2c554cfbc9d6a312ab35152fc77e2f0b758ce9f1a444a3a1e5b8f3c6b7f" url: "https://pub.dev" source: hosted - version: "2.2.2" + version: "2.2.3" path_provider_foundation: dependency: transitive description: @@ -1450,10 +1450,10 @@ packages: dependency: "direct main" description: name: receive_sharing_intent - sha256: fcf167ad5aed85937c42d985dc31c7e50dbb3cf97dc5063a2bcfd26147023b34 + sha256: fe02f858ac9f8d44d62e1964dadded000bb48dea424085ed280d542a61c4e8ba url: "https://pub.dev" source: hosted - version: "1.6.8" + version: "1.7.0" reorderable_grid: dependency: "direct main" description: @@ -1522,10 +1522,10 @@ packages: dependency: "direct main" description: name: share_plus - sha256: "05ec043470319bfbabe0adbc90d3a84cbff0426b9d9f3a6e2ad3e131fa5fa629" + sha256: fb5319f3aab4c5dda5ebb92dca978179ba21f8c783ee4380910ef4c1c6824f51 url: "https://pub.dev" source: hosted - version: "8.0.2" + version: "8.0.3" share_plus_platform_interface: dependency: transitive description: @@ -1873,10 +1873,10 @@ packages: dependency: "direct main" description: name: uuid - sha256: cd210a09f7c18cbe5a02511718e0334de6559871052c90a90c0cca46a4aa81c8 + sha256: "814e9e88f21a176ae1359149021870e87f7cddaf633ab678a5d2b0bff7fd1ba8" url: "https://pub.dev" source: hosted - version: "4.3.3" + version: "4.4.0" vector_graphics: dependency: transitive description: @@ -1961,10 +1961,10 @@ packages: dependency: "direct main" description: name: wakelock_plus - sha256: "104d94837bb28c735894dcd592877e990149c380e6358b00c04398ca1426eed4" + sha256: c8b7cc80f045533b40a0e6c9109905494e3cf32c0fbd5c62616998e0de44003f url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.2.4" wakelock_plus_platform_interface: dependency: transitive description: @@ -1993,10 +1993,10 @@ packages: dependency: "direct main" description: name: web_socket_channel - sha256: "1d8e795e2a8b3730c41b8a98a2dff2e0fb57ae6f0764a1c46ec5915387d257b2" + sha256: "58c6666b342a38816b2e7e50ed0f1e261959630becd4c879c4f26bfa14aa5a42" url: "https://pub.dev" source: hosted - version: "2.4.4" + version: "2.4.5" webdriver: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 6b59c3e3..82a9755f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: aria description: "A client app for Misskey, a federated social media platform." publish_to: 'none' -version: 0.4.1+7 +version: 0.5.0+8 environment: sdk: '>=3.3.2 <4.0.0' @@ -40,7 +40,7 @@ dependencies: fluttertoast: ^8.2.4 freezed_annotation: ^2.4.1 gal: ^2.3.0 - go_router: ^13.2.2 + go_router: ^13.2.3 highlighting: ^0.9.0+11.8.0 hooks_riverpod: ^2.5.1 image: ^4.1.7 @@ -63,15 +63,15 @@ dependencies: url: https://github.com/poppingmoon/misskey_dart ref: 5831e077c183ef74e296d1020cb93bec63dea59e multi_split_view: ^2.4.0 - package_info_plus: ^4.2.0 + package_info_plus: ^7.0.0 photo_view: ^0.14.0 pretty_bytes: ^6.1.0 punycode: ^1.0.0 - receive_sharing_intent: ^1.6.8 + receive_sharing_intent: ^1.7.0 reorderable_grid: ^1.0.10 reorderables: ^0.6.0 riverpod_annotation: ^2.3.5 - share_plus: ^8.0.2 + share_plus: ^8.0.3 shared_preferences: ^2.2.2 slang: ^3.30.2 slang_flutter: ^3.30.0 @@ -81,11 +81,11 @@ dependencies: url: https://github.com/poppingmoon/twemoji_v2 ref: 4e9421350c0f6b3c4ca908e79042e6a2ab5d6dfc url_launcher: ^6.2.5 - uuid: ^4.3.3 + uuid: ^4.4.0 vector_math: ^2.1.4 video_player: ^2.8.5 wakelock_plus: ^1.2.1 - web_socket_channel: ^2.4.4 + web_socket_channel: ^2.4.5 dev_dependencies: build_runner: ^2.4.9 @@ -94,7 +94,7 @@ dev_dependencies: flutter_launcher_icons: ^0.13.1 flutter_test: sdk: flutter - freezed: ^2.4.7 + freezed: ^2.5.1 http_mock_adapter: ^0.6.1 integration_test: sdk: flutter