mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] On a plugging event, the brightness is set a its prefered level instead
of the maximum level
This commit is contained in:
@@ -127,7 +127,7 @@ bool AppsContainer::processEvent(Ion::Events::Event event) {
|
||||
} else {
|
||||
Ion::USB::enable();
|
||||
}
|
||||
Ion::Backlight::setBrightness(Ion::Backlight::MaxBrightness);
|
||||
Ion::Backlight::setBrightness(GlobalPreferences::sharedGlobalPreferences()->brightnessLevel());
|
||||
} else {
|
||||
Ion::USB::disable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user