Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix Auth compact list add button overlap

Neeraj Gupta699b093752e4
diff --git a/mobile/apps/auth/lib/ui/home_page.dart b/mobile/apps/auth/lib/ui/home_page.dart
index 040ac5fc84..4ec94fe2cf 100644
--- a/mobile/apps/auth/lib/ui/home_page.dart
+++ b/mobile/apps/auth/lib/ui/home_page.dart
@@ -1739,7 +1739,9 @@ class _HomePageState extends State<HomePage> {
final crossAxisCount = _calculateGridColumnCount(context);
_currentGridColumns = crossAxisCount;
final double keyboardInset = MediaQuery.of(context).viewInsets.bottom;
- final double gridBottomPadding = 80 + (_showSearchBox ? keyboardInset : 0);
+ final double bottomSafeArea = MediaQuery.of(context).padding.bottom;
+ final double gridBottomPadding =
+ 80 + bottomSafeArea + (_showSearchBox ? keyboardInset : 0);
if (_hasLoaded) {
final bool noCodesAnywhere = !hasNonTrashedCodes && !hasTrashedCodes;
if (_filteredCodes.isEmpty && _searchText.isEmpty && noCodesAnywhere) {