Review fixes

This commit is contained in:
jpirnay
2026-04-15 10:40:19 +02:00
parent 920b3c0b32
commit b0843fbbb2
5 changed files with 20 additions and 11 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ void HomeActivity::loop() {
if (firstRenderDone && !recentsLoaded && !recentsLoading) {
const auto& metrics = UITheme::getInstance().getMetrics();
const Rect contentRect = UITheme::getContentRect(renderer, true, false);
const int menuItemCount = hasOpdsUrl ? 6 : 5;
const int menuItemCount = getMenuItemCount();
const HomeScreenLayout layout = computeHomeScreenLayout(metrics, contentRect.height, menuItemCount);
loadRecentCovers(getHomeCoverRenderHeight(layout));
return;