Skip to content

plugins/nightlight: Guard against invalid timings in the config

Vlad Zahorodnii requested to merge work/cherry-pick-786b3ffb into Plasma/6.1

Morning and evening timings should be ordered correctly. When computing the daylight duration, that ternary operator should not be needed and it hides other bugs.

(cherry picked from commit 786b3ffb)

Merge request reports

Loading