Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Size and font changes to unknown type's text

ashilkn971b1faebbda
diff --git a/lib/ui/viewer/search_tab/file_type_section.dart b/lib/ui/viewer/search_tab/file_type_section.dart
index cecaec4331..2c19b95f1d 100644
--- a/lib/ui/viewer/search_tab/file_type_section.dart
+++ b/lib/ui/viewer/search_tab/file_type_section.dart
@@ -155,7 +155,7 @@ class FileTypeRecommendation extends StatelessWidget {
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),
child: ConstrainedBox(
- constraints: const BoxConstraints(maxHeight: 60),
+ constraints: const BoxConstraints(maxHeight: 68),
child: GestureDetector(
onTap: () {
RecentSearches().add(fileTypeSearchResult.name());
@@ -177,7 +177,7 @@ class FileTypeRecommendation extends StatelessWidget {
"assets/type_unknown.png",
),
Positioned(
- bottom: 15,
+ bottom: 18,
child: ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 48),
child: FittedBox(
@@ -187,6 +187,8 @@ class FileTypeRecommendation extends StatelessWidget {
style: const TextStyle(
fontSize: 14,
fontFamily: "Inter",
+ color: Colors.white,
+ letterSpacing: 0.75,
),
textAlign: TextAlign.center,
maxLines: 1,