Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CometDog committed Dec 5, 2016
1 parent 8b117f0 commit 97b93a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/c/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ static void deinit() {

if (settings_get_appGlanceEnabled()) { // Check if app glance is enabled
char app_glance_text[79];
if (settings_get_appGlanceType() == 0) {
if (settings_get_appGlanceType() == 0) { // Show last session time on app glance
snprintf(app_glance_text, sizeof(app_glance_text), localize_get_app_glance_text(settings_get_appGlanceType(), data_read_last_duration_data()), data_read_last_duration_data());
}
else {
else { // Show total daily time on app glance
snprintf(app_glance_text, sizeof(app_glance_text), localize_get_app_glance_text(settings_get_appGlanceType(), data_read_breathe_persist_data()), data_read_breathe_persist_data());
}
app_glance_reload(appglance_update_app_glance, app_glance_text); // Reload app glance
Expand Down

0 comments on commit 97b93a3

Please sign in to comment.