format
This commit is contained in:
+3
-1
@@ -220,7 +220,9 @@ class _CooldownSection extends HookConsumerWidget {
|
||||
value: settings.intervalMs
|
||||
.clamp(minGestureIntervalMs, maxGestureIntervalMs)
|
||||
.toDouble(),
|
||||
label: settings.intervalMs == 0 ? 'Off' : '${settings.intervalMs} ms',
|
||||
label: settings.intervalMs == 0
|
||||
? 'Off'
|
||||
: '${settings.intervalMs} ms',
|
||||
onChanged: (value) async {
|
||||
await ref
|
||||
.read(gestureSettingsRepositoryProvider.notifier)
|
||||
|
||||
+3
-2
@@ -141,8 +141,9 @@ class _SuggestAfterSection extends HookConsumerWidget {
|
||||
await ref
|
||||
.read(gestureSettingsRepositoryProvider.notifier)
|
||||
.updateSettings(
|
||||
(current) =>
|
||||
current.copyWith.minSuggestionStroke(value.round()),
|
||||
(current) => current.copyWith.minSuggestionStroke(
|
||||
value.round(),
|
||||
),
|
||||
);
|
||||
}
|
||||
: null,
|
||||
|
||||
Reference in New Issue
Block a user