run dart format

This commit is contained in:
Fabian Freund
2026-03-11 03:13:18 +01:00
parent 3d18e97c49
commit 70f93c927b
9 changed files with 19 additions and 44 deletions
@@ -544,8 +544,7 @@ class _FontSizeFactorSlider extends HookConsumerWidget {
onChangeEnd: automaticFontSizeAdjustment
? null
: (value) async {
final rounded =
(value * 10).round() / 10;
final rounded = (value * 10).round() / 10;
sliderValue.value = rounded;
await ref
.read(
@@ -873,17 +873,14 @@ class _LnaEnabledTile extends HookConsumerWidget {
return SwitchListTile.adaptive(
title: const Text('Local Network Access'),
subtitle: const Text(
'Enable local network and device access blocking',
),
subtitle: const Text('Enable local network and device access blocking'),
secondary: const Icon(MdiIcons.lanDisconnect),
value: lnaEnabled ?? false,
onChanged: (value) async {
await ref
.read(saveEngineSettingsControllerProvider.notifier)
.save(
(currentSettings) =>
currentSettings.copyWith.lnaEnabled(value),
(currentSettings) => currentSettings.copyWith.lnaEnabled(value),
);
},
);