fix lints

This commit is contained in:
Fabian Freund
2026-05-22 19:16:03 +02:00
parent a5974617aa
commit ee99d28379
72 changed files with 244 additions and 274 deletions
@@ -315,21 +315,15 @@ class SyncRepository extends _$SyncRepository {
_syncStartedSub = syncStateService.syncStartedEvents.listen((_) {
_update(
(s) => s.copyWith(
lastSyncEvent: SyncEvent.started,
// ignore: avoid_redundant_argument_values
lastSyncError: null,
),
(s) =>
s.copyWith(lastSyncEvent: SyncEvent.started, lastSyncError: null),
);
});
_syncCompletedSub = syncStateService.syncCompletedEvents.listen((_) {
_update(
(s) => s.copyWith(
lastSyncEvent: SyncEvent.completed,
// ignore: avoid_redundant_argument_values
lastSyncError: null,
),
(s) =>
s.copyWith(lastSyncEvent: SyncEvent.completed, lastSyncError: null),
);
unawaited(Future.wait([_refreshTabs(), _refreshDevices()]));
});