Skip to content

Commit

Permalink
Fix Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobkoerber committed Oct 31, 2024
1 parent 2a3ac1a commit d5137e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/base/routing/router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@ final _router = GoRouter(
GoRoute(
path: search,
builder: (context, state) => SearchScaffold(
searchVM:
searchViewModel((SearchType.general, state.extra as String?)),
searchVM: searchViewModel((SearchType.general, state.extra as String?)),
),
),
GoRoute(
Expand Down
2 changes: 1 addition & 1 deletion lib/base/util/speaker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ class Speaker {
final mainSpeaker = speakers.first.split(" [L]");
return mainSpeaker.first.split(" (").first;
}
}
}
3 changes: 2 additions & 1 deletion lib/searchComponent/views/search_category_picker_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ class SearchCategoryPickerView extends ConsumerWidget {
context,
),
),
onSelected: (selected) => ref.read(searchVM).updateCategory(searchCategory),
onSelected: (selected) =>
ref.read(searchVM).updateCategory(searchCategory),
selected: (snapshot.data ?? []).isNotEmpty
? snapshot.data?.contains(searchCategory) ?? false
: true,
Expand Down

0 comments on commit d5137e1

Please sign in to comment.