Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: search box clear icon

Prateek Sunal6853b9061f77
diff --git a/mobile/apps/auth/lib/ui/home_page.dart b/mobile/apps/auth/lib/ui/home_page.dart
index 7fa510f591..bc36864135 100644
--- a/mobile/apps/auth/lib/ui/home_page.dart
+++ b/mobile/apps/auth/lib/ui/home_page.dart
@@ -1429,14 +1429,14 @@ class _HomePageState extends State<HomePage> {
),
),
IconButton(
- icon: _showSearchBox
- ? Icon(Icons.clear, color: iconColor, size: 22)
- : HugeIcon(
- icon: HugeIcons.strokeRoundedSearch01,
- color: iconColor,
- size: 22,
- strokeWidth: 1.75,
- ),
+ icon: HugeIcon(
+ icon: _showSearchBox
+ ? HugeIcons.strokeRoundedCancel01
+ : HugeIcons.strokeRoundedSearch01,
+ color: iconColor,
+ size: 22,
+ strokeWidth: 1.75,
+ ),
tooltip: l10n.search,
padding: const EdgeInsets.all(8.0),
onPressed: () {