mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07:00
N249: Disable night mode
This commit is contained in:
parent
5bae8b008e
commit
2f8f67b9cf
2 changed files with 2 additions and 2 deletions
|
@ -252,7 +252,7 @@ reader::reader(QWidget *parent) :
|
|||
ui->fontChooser->setCurrentText(global::reader::font);
|
||||
}
|
||||
// Night mode
|
||||
if(global::deviceID == "n705\n" or global::deviceID == "n905\n" or global::deviceID == "n613\n" or global::deviceID == "n236\n" or global::deviceID == "n437\n" or global::deviceID == "n249\n" or global::deviceID == "n306\n") {
|
||||
if(global::deviceID == "n705\n" or global::deviceID == "n905\n" or global::deviceID == "n613\n" or global::deviceID == "n236\n" or global::deviceID == "n437\n" or global::deviceID == "n306\n") {
|
||||
if(checkconfig(".config/10-dark_mode/config") == true) {
|
||||
log("Setting night mode to ON", className);
|
||||
writeFile("/tmp/invertScreen", "y");
|
||||
|
|
|
@ -106,7 +106,7 @@ settings::settings(QWidget *parent) :
|
|||
ui->quoteCheckBox->click();
|
||||
}
|
||||
|
||||
if(global::deviceID == "n705\n" or global::deviceID == "n905\n" or global::deviceID == "n613\n" or global::deviceID == "n236\n" or global::deviceID == "n437\n" or global::deviceID == "n306\n" or global::deviceID == "n249\n") {
|
||||
if(global::deviceID == "n705\n" or global::deviceID == "n905\n" or global::deviceID == "n613\n" or global::deviceID == "n236\n" or global::deviceID == "n437\n" or global::deviceID == "n306\n") {
|
||||
if(checkconfig(".config/10-dark_mode/config") == true) {
|
||||
ui->darkModeCheckBox->click();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue