increase min sdk and apply new formatter

This commit is contained in:
Fabian Freund
2025-02-18 15:37:03 +01:00
parent f7885fc829
commit a1ee8bef35
266 changed files with 11329 additions and 10058 deletions
@@ -23,9 +23,7 @@ class LocalAuthenticationService extends _$LocalAuthenticationService {
}
void evictCacheOnBackground() {
_cache.removeWhere(
(key, value) => value.$2.lockOnAppBackground,
);
_cache.removeWhere((key, value) => value.$2.lockOnAppBackground);
}
Future<bool> authenticate({
@@ -38,9 +36,7 @@ class LocalAuthenticationService extends _$LocalAuthenticationService {
var result = useAuthCache && _cacheAuth(authKey);
if (!result) {
result = await _auth.authenticate(
localizedReason: localizedReason,
);
result = await _auth.authenticate(localizedReason: localizedReason);
}
if (result && settings != null) {
@@ -13,14 +13,15 @@ String _$localAuthenticationServiceHash() =>
@ProviderFor(LocalAuthenticationService)
final localAuthenticationServiceProvider =
AsyncNotifierProvider<LocalAuthenticationService, bool>.internal(
LocalAuthenticationService.new,
name: r'localAuthenticationServiceProvider',
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
? null
: _$localAuthenticationServiceHash,
dependencies: null,
allTransitiveDependencies: null,
);
LocalAuthenticationService.new,
name: r'localAuthenticationServiceProvider',
debugGetCreateSourceHash:
const bool.fromEnvironment('dart.vm.product')
? null
: _$localAuthenticationServiceHash,
dependencies: null,
allTransitiveDependencies: null,
);
typedef _$LocalAuthenticationService = AsyncNotifier<bool>;
// ignore_for_file: type=lint