mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 07:37:21 -08:00
N249: Enable cinematic warmth
This commit is contained in:
parent
2f8f67b9cf
commit
1d6f307a96
2 changed files with 2 additions and 2 deletions
|
@ -710,7 +710,7 @@ void MainWindow::setBatteryIcon() {
|
|||
}
|
||||
|
||||
void MainWindow::setInitialBrightness() {
|
||||
if(global::deviceID == "n873\n") {
|
||||
if(global::deviceID == "n249\n" or global::deviceID == "n873\n") {
|
||||
int warmth;
|
||||
QString warmthConfig = readFile(".config/03-brightness/config-warmth");
|
||||
if(warmthConfig.isEmpty()) {
|
||||
|
|
|
@ -2257,7 +2257,7 @@ void reader::setCinematicBrightnessWarmthSlot() {
|
|||
log("Local Reading Settings: Setting brightness to " + QString::number(brightness_value), className);
|
||||
cinematicBrightness(brightness_value, 2);
|
||||
}
|
||||
if(global::deviceID == "n873\n") {
|
||||
if(global::deviceID == "n249\n" or global::deviceID == "n873\n") {
|
||||
int warmthValue = readFile(".config/03-brightness/config-warmth").toInt();
|
||||
log("Local Reading Settings: Setting warmth to " + QString::number(warmthValue), className);
|
||||
cinematicWarmth(warmthValue);
|
||||
|
|
Loading…
Reference in a new issue