chore: dart format

This commit is contained in:
edde746
2026-04-24 14:19:07 +02:00
parent 2479e1faaa
commit 2b59de91c7
22 changed files with 66 additions and 151 deletions
+6 -8
View File
@@ -813,11 +813,7 @@ class _TrackerProfileBootstrap extends StatefulWidget {
final List<Future<void> Function(String? uuid)> onProfileChanged;
final VoidCallback? onFirstMount;
const _TrackerProfileBootstrap({
required this.child,
required this.onProfileChanged,
this.onFirstMount,
});
const _TrackerProfileBootstrap({required this.child, required this.onProfileChanged, this.onFirstMount});
@override
State<_TrackerProfileBootstrap> createState() => _TrackerProfileBootstrapState();
@@ -851,9 +847,11 @@ class _TrackerProfileBootstrapState extends State<_TrackerProfileBootstrap> {
if (uuid == _lastUuid) return;
_lastUuid = uuid;
for (final fn in widget.onProfileChanged) {
unawaited(fn(uuid).catchError((Object e, StackTrace s) {
appLogger.w('Tracker profile bootstrap failed', error: e, stackTrace: s);
}));
unawaited(
fn(uuid).catchError((Object e, StackTrace s) {
appLogger.w('Tracker profile bootstrap failed', error: e, stackTrace: s);
}),
);
}
}