Skip to content

Commit 2532ff6

Browse files
committed
chore: Updated dependencies and SDK constraints.
1 parent 8e41991 commit 2532ff6

85 files changed

Lines changed: 251 additions & 248 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

android/gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33
android.enableJetifier=true
4+
# This builtInKotlin flag was added automatically by Flutter migrator
5+
android.builtInKotlin=false
6+
# This newDsl flag was added automatically by Flutter migrator
7+
android.newDsl=false

lib/flows/email_confirmation.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ class _ConfirmActionPickerDialog extends StatelessWidget {
9898
],
9999
children: [
100100
ClickableTile(
101-
prefix: const Icon(FIcons.check),
101+
prefix: const Icon(FLucideIcons.check),
102102
title: Text(translations.emailConfirmation.confirmActionPickerDialog.confirm.title),
103103
subtitle: Text(translations.emailConfirmation.confirmActionPickerDialog.confirm.subtitle),
104104
onPress: () => Navigator.pop(context, _ConfirmAction.tryConfirm),
105105
),
106106
ClickableTile(
107107
variant: .destructive,
108-
prefix: const Icon(FIcons.x),
108+
prefix: const Icon(FLucideIcons.x),
109109
title: Text(translations.emailConfirmation.confirmActionPickerDialog.cancelConfirmation.title),
110110
subtitle: Text(translations.emailConfirmation.confirmActionPickerDialog.cancelConfirmation.subtitle),
111111
onPress: () => Navigator.pop(context, _ConfirmAction.cancelConfirmation),

lib/flows/master_password.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class _ChangeMasterPasswordDialogState extends ConsumerState<_ChangeMasterPasswo
141141
control: .managed(controller: backupPasswordController),
142142
validator: isBackupPasswordValid,
143143
label: FormLabelWithIcon(
144-
icon: FIcons.save,
144+
icon: FLucideIcons.save,
145145
text: translations.miscellaneous.backupCheckbox.input.text,
146146
),
147147
hint: translations.miscellaneous.backupCheckbox.input.hint,

lib/flows/storage_migration.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class _ConfirmationDialogState extends State<_ConfirmationDialog> {
199199
control: .managed(controller: backupPasswordController),
200200
validator: isBackupPasswordValid,
201201
label: FormLabelWithIcon(
202-
icon: FIcons.save,
202+
icon: FLucideIcons.save,
203203
text: translations.miscellaneous.backupCheckbox.input.text,
204204
),
205205
hint: translations.miscellaneous.backupCheckbox.input.hint,
@@ -254,13 +254,13 @@ class _StorageMigrationDeletedTotpPolicyPickerDialog extends StatelessWidget {
254254
children: [
255255
Text(translations.storageMigration.deletedTotpPolicyPickerDialog.message),
256256
ClickableTile(
257-
prefix: const Icon(FIcons.trash),
257+
prefix: const Icon(FLucideIcons.trash),
258258
title: Text(translations.storageMigration.deletedTotpPolicyPickerDialog.delete.title),
259259
subtitle: Text(translations.storageMigration.deletedTotpPolicyPickerDialog.delete.subtitle),
260260
onPress: () => Navigator.pop(context, StorageMigrationDeletedTotpPolicy.delete),
261261
),
262262
ClickableTile(
263-
prefix: const Icon(FIcons.upload),
263+
prefix: const Icon(FLucideIcons.upload),
264264
title: Text(translations.storageMigration.deletedTotpPolicyPickerDialog.restore.title),
265265
subtitle: Text(translations.storageMigration.deletedTotpPolicyPickerDialog.restore.subtitle),
266266
onPress: () => Navigator.pop(context, StorageMigrationDeletedTotpPolicy.keep),

lib/model/app_unlock/methods/method.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ sealed class AppUnlockMethod<T> {
3939
/// Creates a new app unlock method instance.
4040
const AppUnlockMethod({
4141
required this.id,
42-
required Ref ref,
43-
}) : _ref = ref;
42+
required this._ref,
43+
});
4444

4545
/// Unlock the app, handling errors.
4646
Future<Result<T>> unlock(AppUnlockInteraction interaction, UnlockReason reason) async {

lib/model/backend/authentication/providers/provider.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ sealed class AuthenticationProvider {
6464
/// Creates a new authentication provider instance.
6565
const AuthenticationProvider({
6666
required this.id,
67-
required Ref ref,
68-
}) : _ref = ref;
67+
required this._ref,
68+
});
6969

7070
/// Changes the provider id of the user.
7171
User _changeId(User user, String? providerUserId);

lib/model/backend/authentication/session.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ class SessionRefreshStateInProgress extends SessionRefreshState {
210210

211211
/// Creates a new in progress session refresh state instance.
212212
SessionRefreshStateInProgress({
213-
required Completer<Result<Session>> pendingRefresh,
214-
}) : _pendingRefresh = pendingRefresh;
213+
required this._pendingRefresh,
214+
});
215215
}
216216

217217
/// The session refresh state is success.

lib/model/backend/connectivity.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ enum ConnectivityState {
8787
unavailable,
8888

8989
/// We couldn't determine the connectivity state.
90-
unknown
91-
;
90+
unknown;
9291

9392
/// Returns whether we can send HTTP requests.
9493
bool get canSendRequests => this == .available || this == .unknown;

lib/model/backend/request/request.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ abstract class BackendPostRequest<T extends BackendResponse> extends BackendRequ
109109
Future<http.Response> execute(http.Client client, Uri url, {Map<String, String>? headers}) => client.post(
110110
url,
111111
headers: {
112-
if (headers != null) ...headers,
112+
...?headers,
113113
'Content-Type': 'application/json',
114114
},
115115
body: jsonEncode(jsonBody),
@@ -129,7 +129,7 @@ abstract class BackendDeleteRequest<T extends BackendResponse> extends BackendRe
129129
Future<http.Response> execute(http.Client client, Uri url, {Map<String, String>? headers}) => client.delete(
130130
url,
131131
headers: {
132-
if (headers != null) ...headers,
132+
...?headers,
133133
'Content-Type': 'application/json',
134134
},
135135
body: jsonEncode(jsonBody),

lib/model/backend/synchronization/push/result.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ enum PushOperationErrorKind {
122122
tooManyTotps,
123123

124124
/// Any other error occurred.
125-
genericError
126-
;
125+
genericError;
127126

128127
/// Whether the error is permanent.
129128
final bool isPermanent;

0 commit comments

Comments
 (0)