slight cleanups

This commit is contained in:
Henry Hiles 2026-10-16 10:56:55 -04:00
commit 00f22d46b7
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
11 changed files with 24 additions and 33 deletions

View file

@ -81,11 +81,11 @@ class const SettingsPage({super.key}) extends ConsumerWidget {
index: match.$1.$2,
scrollController: scrollController,
alignment: 0.5,
duration: (_) => .new(milliseconds: 700),
duration: (_) => Durations.extralong1,
curve: (_) => Curves.easeInOut,
);
highlightedMatch.value = match.$1;
await Future.delayed(.new(seconds: 1), () {
await Future.delayed(Durations.extralong4, () {
if (highlightedMatch.value == match.$1) {
highlightedMatch.value = null;
}

View file

@ -31,10 +31,10 @@ class const SettingsCategoryPage(
index: initialHighlight!,
scrollController: scrollController,
alignment: 0.5,
duration: (_) => .new(milliseconds: 700),
duration: (_) => Durations.extralong1,
curve: (_) => Curves.easeInOut,
);
timer = Timer(.new(seconds: 1), () {
timer = Timer(Durations.extralong4, () {
highlight.value = null;
});
listController.value.removeListener(listener);