Review fixes
This commit is contained in:
@@ -20,9 +20,7 @@
|
||||
void GlobalBookmarksActivity::onEnter() {
|
||||
Activity::onEnter();
|
||||
|
||||
if (GLOBAL_BOOKMARKS.reconcile()) {
|
||||
GLOBAL_BOOKMARKS.save();
|
||||
}
|
||||
GLOBAL_BOOKMARKS.reconcile();
|
||||
rebuildRows();
|
||||
|
||||
const int first = firstSelectableIndex();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user