Skip to content

armgit / ente

Public Imported from GitHub
0

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

feat: search ui change

Prateek Sunala292114d68c4
diff --git a/auth/lib/ui/home_page.dart b/auth/lib/ui/home_page.dart
index 12c8df5d8a..fd549f20d8 100644
--- a/auth/lib/ui/home_page.dart
+++ b/auth/lib/ui/home_page.dart
@@ -259,7 +259,11 @@ class _HomePageState extends State<HomePage> {
children: [
Expanded(
child: _filteredCodes.isNotEmpty
- ? ListView.builder(
+ ? AlignedGridView.count(
+ crossAxisCount:
+ (MediaQuery.sizeOf(context).width ~/ 400)
+ .clamp(1, double.infinity)
+ .toInt(),
itemBuilder: ((context, index) {
Code? code;
try {