mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
format dart
This commit is contained in:
parent
b656d2bfd2
commit
65b98e24bf
1 changed files with 2 additions and 4 deletions
|
|
@ -411,7 +411,7 @@ class SearchPage extends HookConsumerWidget {
|
|||
TextSearchType.context => Icons.image_search_rounded,
|
||||
TextSearchType.filename => Icons.abc_rounded,
|
||||
TextSearchType.description => Icons.text_snippet_outlined,
|
||||
TextSearchType.ocr => Icons.document_scanner_outlined
|
||||
TextSearchType.ocr => Icons.document_scanner_outlined,
|
||||
};
|
||||
|
||||
return Scaffold(
|
||||
|
|
@ -504,9 +504,7 @@ class SearchPage extends HookConsumerWidget {
|
|||
'search_filter_ocr'.tr(),
|
||||
style: context.textTheme.bodyLarge?.copyWith(
|
||||
fontWeight: FontWeight.w500,
|
||||
color: textSearchType.value == TextSearchType.ocr
|
||||
? context.colorScheme.primary
|
||||
: null,
|
||||
color: textSearchType.value == TextSearchType.ocr ? context.colorScheme.primary : null,
|
||||
),
|
||||
),
|
||||
selectedColor: context.colorScheme.primary,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue