Philip Withnall c890a2f1e3 timeLimitsManager: Reset screen time if daily limit is changed
If the limit for the day had already been reached, the
`timeLimitsManager` was not resetting the screen time state if the daily
limit setting was then changed (and increased).

Fix that, and add a unit test for it.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8164
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3603>
2025-01-20 19:05:58 +00:00
..
2024-07-30 18:20:55 +00:00
2023-08-06 13:02:49 +02:00
2024-07-30 18:20:55 +00:00
2024-07-30 18:20:55 +00:00
2024-07-30 18:20:55 +00:00
2024-07-30 18:20:55 +00:00
2024-07-30 18:20:55 +00:00
2024-07-30 18:20:55 +00:00
2024-07-30 18:20:55 +00:00
2024-07-30 18:20:55 +00:00
2024-07-30 18:20:55 +00:00
2023-08-06 13:02:49 +02:00
2024-07-30 18:20:55 +00:00
2024-07-30 18:20:55 +00:00