Include new patch for dark mode
This commit is contained in:
parent
b590fcae83
commit
796a3b0acf
2 changed files with 7 additions and 5 deletions
|
@ -189,4 +189,5 @@ Enable-Certificate-Transparency.patch
|
|||
Invalidate-components-public-key.patch
|
||||
Improve-plain-text-rendering-on-mobile.patch
|
||||
Remove-segmentation-platform.patch
|
||||
Follow-only-system-dark-mode.patch
|
||||
Automated-domain-substitution.patch
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
From: krlvm <51774833+krlvm@users.noreply.github.com>
|
||||
Date: Mon, 4 Jul 2022 16:14:37 +0300
|
||||
Subject: Follow only system dark mode preference when theme is set to system default
|
||||
Subject: Follow only system dark mode
|
||||
|
||||
Follow only system dark mode preference when theme is set to system default
|
||||
|
||||
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||||
---
|
||||
GlobalNightModeStateController.java | 2 +-
|
||||
.../browser/night_mode/GlobalNightModeStateController.java | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/chrome/browser/ui/android/night_mode/java/src/org/chromium/chrome/browser/night_mode/GlobalNightModeStateController.java b/chrome/browser/ui/android/night_mode/java/src/org/chromium/chrome/browser/night_mode/GlobalNightModeStateController.java
|
||||
index 726e7f1..aedb911 100644
|
||||
--- a/chrome/browser/ui/android/night_mode/java/src/org/chromium/chrome/browser/night_mode/GlobalNightModeStateController.java
|
||||
+++ b/chrome/browser/ui/android/night_mode/java/src/org/chromium/chrome/browser/night_mode/GlobalNightModeStateController.java
|
||||
@@ -126,7 +126,7 @@ class GlobalNightModeStateController implements NightModeStateProvider,
|
||||
|
@ -19,6 +21,5 @@ index 726e7f1..aedb911 100644
|
|||
final int theme = NightModeUtils.getThemeSetting();
|
||||
final boolean newNightModeOn = theme == ThemeType.SYSTEM_DEFAULT
|
||||
&& (powerSaveModeOn || mSystemNightModeMonitor.isSystemNightModeOn())
|
||||
--
|
||||
--
|
||||
2.25.1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue