Skip to content

Commit

Permalink
Log if ReadingFooter widget not found
Browse files Browse the repository at this point in the history
  • Loading branch information
shermp committed Jun 27, 2022
1 parent 3c75869 commit 9bebe4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nickelclock.cc
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ extern "C" __attribute__((visibility("default"))) void _nc_set_header_clock(Read

// Find header or footer
ReadingFooter *rf = _this->findChild<ReadingFooter*>(containerName);
if (!rf)
nh_log("ReadingFooter '%s' not found in ReadingView", containerName);

add_time_to_footer(rf, nc_settings->position());
ReadingView__ReaderIsDoneLoading(_this);
Expand Down

0 comments on commit 9bebe4e

Please sign in to comment.