melos format

This commit is contained in:
2026-04-07 17:07:47 +02:00
parent 42ec003b05
commit 29887818f9
20 changed files with 117 additions and 142 deletions

View File

@@ -51,9 +51,7 @@ class ActivityMeterViewModel extends Notifier<ActivityMeterViewState> {
customEnd: end,
isLoading: true,
);
unawaited(
_tracking.legacyDeviceActivityMeterTimeRangeChanged('custom'),
);
unawaited(_tracking.legacyDeviceActivityMeterTimeRangeChanged('custom'));
await _loadFilteredData();
}

View File

@@ -51,9 +51,7 @@ class AppsUseViewModel extends Notifier<AppsUseViewState> {
}
void _fireTimeRangeEvent() {
final topAppName = state.topApps.isNotEmpty
? state.topApps.first.name
: '';
final topAppName = state.topApps.isNotEmpty ? state.topApps.first.name : '';
unawaited(
_tracking.legacyDeviceAppsUseTimeRangeChanged(
range: _timeRangeName(state.timeRange),

View File

@@ -163,9 +163,7 @@ class _LocationMapState extends ConsumerState<LocationMap>
void _centerOnDevice() {
if (widget.selectedPosition == null) return;
unawaited(
ref.read(sfTrackingProvider).legacyLocationMapCenterTapped(),
);
unawaited(ref.read(sfTrackingProvider).legacyLocationMapCenterTapped());
_animatedMove(
LatLng(
widget.selectedPosition!.latitude,

View File

@@ -56,9 +56,7 @@ class WifiSettingsViewModel extends Notifier<WifiSettingsViewState> {
final networks = await _repository.getWifiNetworks(deviceId: device.id);
unawaited(
_tracking.legacySettingsWifiAdded(totalCount: networks.length),
);
unawaited(_tracking.legacySettingsWifiAdded(totalCount: networks.length));
state = state.copyWith(
networks: networks,