melos format
This commit is contained in:
@@ -51,9 +51,7 @@ class ActivityMeterViewModel extends Notifier<ActivityMeterViewState> {
|
||||
customEnd: end,
|
||||
isLoading: true,
|
||||
);
|
||||
unawaited(
|
||||
_tracking.legacyDeviceActivityMeterTimeRangeChanged('custom'),
|
||||
);
|
||||
unawaited(_tracking.legacyDeviceActivityMeterTimeRangeChanged('custom'));
|
||||
await _loadFilteredData();
|
||||
}
|
||||
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user