mirror of
https://gitee.com/openharmony/accessibility
synced 2024-11-23 06:50:30 +00:00
description
Signed-off-by: 小发发 <lianghui35@huawei.com>
This commit is contained in:
parent
bc912f25d1
commit
e8ef338170
@ -385,7 +385,7 @@ RetError AccessibilitySettingsConfig::SetDaltonizationColorFilter(const uint32_t
|
||||
daltonizationColorFilter = AccessibilityConfig::Protanomaly;
|
||||
} else if (filter == DISPLAY_DALTONIZER_BLUE) {
|
||||
daltonizationColorFilter = AccessibilityConfig::Tritanomaly;
|
||||
} else if (filter == DISPLAY_DALTONIZER_INVALID) {
|
||||
} else if (filter == static_cast<uint32_t>(DISPLAY_DALTONIZER_INVALID)) {
|
||||
daltonizationColorFilter = 0;
|
||||
}
|
||||
auto ret = datashare_->PutIntValue(DALTONIZATION_COLOR_FILTER_KEY, static_cast<int32_t>(daltonizationColorFilter));
|
||||
|
Loading…
Reference in New Issue
Block a user