Skip to content

Commit

Permalink
Attempt to fix white screen for list notifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
matejdro committed Nov 23, 2016
1 parent 9ac7fcf commit 0b3889a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/NotificationListWindow.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ static void sendpickedEntry(int16_t pos) {
}

static void requestAdditionalEntries(void) {
// Do not request more list entries if user already picked something
if (pickedEntry >= 0)
{
return;
}


uint8_t filledDown = cb_getNumOfLoadedSpacesDownFromCenter(notifications, numEntries);
uint8_t filledUp = cb_getNumOfLoadedSpacesUpFromCenter(notifications);

Expand Down

0 comments on commit 0b3889a

Please sign in to comment.