Skip to content

Commit 272d67e

Browse files
committed
chore(deps): Updated dependencies.
1 parent e211ab9 commit 272d67e

6 files changed

Lines changed: 44 additions & 32 deletions

File tree

analysis_options.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ analyzer:
88
unused_element_parameter: ignore
99
exclude:
1010
- '**.g.dart'
11+
- build/**
12+
- android/**
13+
- ios/**
14+
- web/**
15+
- windows/**
16+
- macos/**
17+
- linux/**
1118

1219
linter:
1320
rules:

lib/model/settings/app_unlock_method.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class AppUnlockMethodSettingsEntry extends SettingsEntry<String> {
5050
/// Errors may contain a [CannotUnlockException] if unlock has failed for a specific reason.
5151
Future<Result> unlockWithCurrentMethod(AppUnlockInteraction interaction, UnlockReason unlockReason, {bool? allowNone}) async {
5252
try {
53-
return _tryUnlockWithCurrentMethod(interaction, unlockReason, allowNone: allowNone);
53+
return await _tryUnlockWithCurrentMethod(interaction, unlockReason, allowNone: allowNone);
5454
} catch (ex, stackTrace) {
5555
return ResultError(
5656
exception: ex,

lib/pages/settings/entries/manage_backups.dart

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class _RestoreBackupDialogState extends ConsumerState<_RestoreBackupDialog> {
159159
Future<void> importBackup() async {
160160
Result result = const ResultCancelled();
161161
try {
162-
FilePickerResult? filePickerResult = await showWaitingOverlay(
162+
List<PlatformFile>? files = await showWaitingOverlay(
163163
context,
164164
future: (() async {
165165
Directory directory = await BackupPath.getBackupsDirectory(create: true);
@@ -168,11 +168,12 @@ class _RestoreBackupDialogState extends ConsumerState<_RestoreBackupDialog> {
168168
initialDirectory: directory.path,
169169
type: FileType.custom,
170170
allowedExtensions: ['bak'],
171-
lockParentWindow: true,
171+
windowsOptions: const WindowsOptions(lockParentWindow: true),
172+
linuxOptions: const LinuxOptions(lockParentWindow: true),
172173
);
173174
})(),
174175
);
175-
String? backupFilePath = filePickerResult?.files.firstOrNull?.path;
176+
String? backupFilePath = files?.firstOrNull?.path;
176177
if (backupFilePath == null || !mounted) {
177178
return;
178179
}
@@ -238,7 +239,7 @@ class _RestoreBackupDialogState extends ConsumerState<_RestoreBackupDialog> {
238239
Future<void> exportBackup(BackupPath backup) async {
239240
Result result = const ResultCancelled();
240241
try {
241-
String? outputFilePath = await showWaitingOverlay(
242+
Uri? outputFilePath = await showWaitingOverlay(
242243
context,
243244
future: (() async {
244245
Directory directory = await BackupPath.getBackupsDirectory(create: true);
@@ -249,14 +250,15 @@ class _RestoreBackupDialogState extends ConsumerState<_RestoreBackupDialog> {
249250
bytes: Uint8List(0),
250251
type: FileType.custom,
251252
allowedExtensions: ['bak'],
252-
lockParentWindow: true,
253+
windowsOptions: const WindowsOptions(lockParentWindow: true),
254+
linuxOptions: const LinuxOptions(lockParentWindow: true),
253255
);
254256
})(),
255257
);
256258
if (outputFilePath == null) {
257259
return;
258260
}
259-
backup.file.copySync(outputFilePath);
261+
backup.file.copySync(outputFilePath.toString());
260262
result = const ResultSuccess();
261263
} catch (ex, stackTrace) {
262264
result = ResultError(exception: ex, stackTrace: stackTrace);

lib/widgets/blur.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Blur extends StatelessWidget {
4444
?below,
4545
Positioned.fill(
4646
child: BackdropFilter(
47-
filter: context.theme.dialogRouteStyle.barrierFilter?.call(1) ?? ImageFilter.blur(sigmaX: 5, sigmaY: 5),
47+
filter: context.theme.dialogRouteStyle.barrierFilter?.call(context, 1) ?? ImageFilter.blur(sigmaX: 5, sigmaY: 5),
4848
child: Container(
4949
decoration: BoxDecoration(
5050
color: context.theme.colors.background.withValues(alpha: colorOpacity),

macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Foundation
88
import app_links
99
import cloud_firestore
1010
import connectivity_plus
11-
import file_picker
11+
import file_picker_darwin
1212
import firebase_auth
1313
import firebase_core
1414
import local_auth_darwin

pubspec.yaml

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
flutter_localizations:
1919
sdk: flutter
2020
animations: ^2.2.0
21-
flutter_riverpod: ^3.3.2
21+
flutter_riverpod: ^3.4.2
2222
simple_secure_storage: ^0.4.2
2323
jovial_svg: ^1.1.30
2424
mobile_scanner: ^7.4.0
@@ -27,7 +27,7 @@ dependencies:
2727
shared_preferences: ^2.5.5
2828
uuid: ^4.6.0
2929
equatable: ^2.1.0
30-
drift: ^2.34.2
30+
drift: ^2.34.3
3131
drift_flutter: ^0.3.1
3232
path: ^1.9.1
3333
local_auth: ^3.0.2
@@ -36,43 +36,46 @@ dependencies:
3636
qr_flutter: ^4.1.0
3737
intl: any
3838
url_launcher: ^6.3.2
39-
purchases_flutter: ^10.4.2
40-
purchases_ui_flutter: ^10.4.2
39+
purchases_flutter: ^10.9.0
40+
purchases_ui_flutter: ^10.9.0
4141
purchases_dart:
4242
git:
4343
url: https://github.com/openauthenticator-app/purchases-dart.git
4444
window_manager: ^0.5.2
45-
slang: ^4.18.0
46-
slang_flutter: ^4.18.0
47-
rate_my_app: ^2.4.0
45+
slang: ^4.19.0
46+
slang_flutter: ^4.19.0
47+
rate_my_app: ^2.4.1
4848
app_links: ^7.2.1
4949
hashlib: ^2.4.2
50-
convertlib: ^3.5.1
51-
cipherlib: ^0.7.1
50+
convertlib: ^3.6.1
51+
cipherlib: ^0.7.2
5252
scrollable_positioned_list: ^0.3.8
53-
share_plus: ^13.2.1
54-
wakelock_plus: ^1.6.1
55-
file_picker: ^12.0.0-beta.7
56-
connectivity_plus: ^7.3.0
53+
share_plus: ^13.3.0
54+
wakelock_plus: ^1.7.0
55+
file_picker: ^12.0.0
56+
connectivity_plus: ^7.3.1
5757
connectivity_plus_linux_portal: ^0.0.4
58-
sentry_flutter: ^9.24.0
59-
forui: ^0.24.1
60-
forui_assets: ^0.24.0
58+
sentry_flutter: ^9.27.0
59+
forui: ^0.25.0
60+
forui_assets: ^0.25.0
6161
custom_refresh_indicator: ^4.0.1
6262
# TODO: Remove Firebase dependencies once migration is finished.
63-
firebase_core: ^4.12.1
64-
firebase_auth: ^6.5.6
65-
cloud_firestore: ^6.7.1
63+
firebase_core: ^4.13.0
64+
firebase_auth: ^6.5.7
65+
cloud_firestore: ^6.8.0
6666

6767
dev_dependencies:
6868
flutter_lints: ^6.0.0
69-
build_runner: ^2.15.1
70-
drift_dev: ^2.34.0
69+
build_runner: ^2.16.0
70+
drift_dev: ^2.34.5
7171
msix: ^3.18.0
72-
riverpod_lint: ^3.1.4
73-
release: ^0.1.8
72+
riverpod_lint: ^3.1.8
73+
release: ^0.1.10
7474
args: ^2.7.0
7575

76+
dependency_overrides:
77+
xml: ^7.0.1
78+
7679
flutter:
7780
assets:
7881
- assets/images/

0 commit comments

Comments
 (0)