format dart

This commit is contained in:
mertalev 2025-10-15 15:57:37 -04:00
parent b656d2bfd2
commit 65b98e24bf
No known key found for this signature in database
GPG key ID: DF6ABC77AAD98C95

View file

@ -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,