Skip to content

An open-source cross-platform alternative to AirDrop

feat: use riverpie from git temporary

Tien Do Nam2dccef76581f
diff --git a/lib/main.dart b/lib/main.dart
index 85128337..5c908a4e 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -27,11 +27,11 @@ Future<void> main(List<String> args) async {
final scope = RiverpieScope(
observer: kDebugMode ? CustomRiverpieDebugObserver() : null,
overrides: [
- persistenceProvider.overrideWithFuture((ref) async => await preInit(args)),
- deviceRawInfoProvider.overrideWithFuture((ref) async => await getDeviceInfo()),
- appArgumentsProvider.overrideWithValue((ref) => args),
- tvProvider.overrideWithFuture((ref) async => await checkIfTv()),
- dynamicColorsProvider.overrideWithFuture((ref) async => await getDynamicColors()),
+ persistenceProvider.overrideWithValue(await preInit(args)),
+ deviceRawInfoProvider.overrideWithValue(await getDeviceInfo()),
+ appArgumentsProvider.overrideWithValue(args),
+ tvProvider.overrideWithValue(await checkIfTv()),
+ dynamicColorsProvider.overrideWithValue(await getDynamicColors()),
],
child: TranslationProvider(
child: const LocalSendApp(),
diff --git a/pubspec.lock b/pubspec.lock
index fd2c08d1..09481bc6 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -1039,12 +1039,13 @@ packages:
source: hosted
version: "3.0.1"
riverpie:
- dependency: transitive
+ dependency: "direct overridden"
description:
- name: riverpie
- sha256: c558135a3163113a4333fce4fa34385e325ab93f8e00492381c1c372482f6f89
- url: "https://pub.dev"
- source: hosted
+ path: riverpie
+ ref: HEAD
+ resolved-ref: a31e0181d70178cedfbd16f5bf87d26f6dbc5eaa
+ url: "[email protected]:Tienisto/riverpie.git"
+ source: git
version: "0.15.1"
riverpie_flutter:
dependency: "direct main"
diff --git a/pubspec.yaml b/pubspec.yaml
index 144a4325..e0fa59cd 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -81,6 +81,10 @@ dependency_overrides:
git:
url: https://github.com/localsend/permission_handler_windows_noop.git
ref: fc09b707ab4535a9214c87b16f09feda7e765d90
+ riverpie:
+ git:
+ url: [email protected]:Tienisto/riverpie.git
+ path: riverpie
share_handler_platform_interface:
# https://github.com/ShoutSocial/share_handler/pull/39
# Remove this when next release is published