Skip to content

Commit

Permalink
Display loading status
Browse files Browse the repository at this point in the history
  • Loading branch information
亨睿 committed Feb 17, 2020
1 parent 468770f commit 86ee98a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/examples/home/views/HomeVIew.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ void HomeView::render(CanvasContext *context) {
_drawDateTime(context);
_drawWeather(context);
_drawStocks(context);
if (ServiceClient.isLoading()) {
context->fillCircle(getClientWidth() / 2, 2, 2);
}
}

void HomeView::_drawDateTime(CanvasContext *context) {
Expand Down

0 comments on commit 86ee98a

Please sign in to comment.