Skip to content

libcolorcorrect: fix reading auto location enabled from config

Natalie Clarius requested to merge work/natalie/locator-startup-fix into master

Reading the 'Mode' config key into an int instead of string returned 0, which was interpreted as auto location mode, and resulted in the locator always being started even when the user had not chosen auto location.

Also explicitly check for the NightColor Active config, to future proof it in case colorcorrect gets other uses such as adjusting screen gamma that can be running independently of Night Light being enabled.

BUG: 485086

Edited by Natalie Clarius

Merge request reports

Loading