fix lints

This commit is contained in:
Fabian Freund
2026-02-16 19:59:32 +01:00
parent cfa7e3ac89
commit 645bbb9b53
78 changed files with 244 additions and 210 deletions
@@ -59,7 +59,7 @@ class SearchScreen extends HookConsumerWidget {
/// When null, a new tab will be created.
final String? tabId;
const SearchScreen({
const SearchScreen({super.key,
required this.initialSearchText,
required this.tabType,
this.launchedFromIntent = false,
@@ -42,7 +42,7 @@ class FeedSearch extends HookConsumerWidget {
final ValueListenable<TextEditingValue> searchTextNotifier;
const FeedSearch({required this.searchTextNotifier});
const FeedSearch({super.key, required this.searchTextNotifier});
@override
Widget build(BuildContext context, WidgetRef ref) {
@@ -50,7 +50,7 @@ class TabSearch extends HookConsumerWidget {
final ValueListenable<TextEditingValue> searchTextListenable;
const TabSearch({required this.searchTextListenable});
const TabSearch({super.key, required this.searchTextListenable});
@override
Widget build(BuildContext context, WidgetRef ref) {
@@ -76,7 +76,7 @@ class TabSearch extends HookConsumerWidget {
.fold(
<String?, int>{},
(map, id) =>
map..update(id, (value) => ++value, ifAbsent: () => 1),
map..update(id, (value) => value + 1, ifAbsent: () => 1),
),
),
[tabSearchResults],