Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code efficiency improvement and database fixes #2

Merged
merged 4 commits into from
Jan 26, 2024
Merged

Commits on Jan 24, 2024

  1. Configuration menu
    Copy the full SHA
    cdd7b8c View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Fix daily screen on time on day change

    If the current session was started before midnight, the screen on
    time for today could have been longer than what time had passed.
    miikasda committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    1c85d93 View commit details
    Browse the repository at this point in the history
  2. Remove duplicate timers

    Added efficiency by using Singleton to hold screen on data for
    labels. Got rid off separate timer in CoverPage.
    miikasda committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    9fbf764 View commit details
    Browse the repository at this point in the history
  3. Fix screen time calculation on sessions over midnight

    Earlier sessions over midnight were not taken into account in
    daily or average screen time calculations.
    miikasda committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    7116d40 View commit details
    Browse the repository at this point in the history