diff --git a/README.md b/README.md
index 0b5c4bbb..0b822f90 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,7 @@ You can download latest version [here](https://github.com/exelban/stats/releases
## What's new
### v1.2.2
+ - fixed update and about visibility window in dark mode
- added name of the indicators in the Chart/Chart with value
- added check for new version on start
- removed charts and charts with value to Disk module
diff --git a/Stats/AppDelegate.swift b/Stats/AppDelegate.swift
index 713ee36b..29c74897 100755
--- a/Stats/AppDelegate.swift
+++ b/Stats/AppDelegate.swift
@@ -102,9 +102,7 @@ class AboutVC: NSViewController {
override func awakeFromNib() {
if self.view.layer != nil {
- self.view.window?.backgroundColor = .white
- self.view.layer?.backgroundColor = .white
-
+ self.view.window?.backgroundColor = .windowBackgroundColor
let versionNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as! String
versionLabel.stringValue = "Version \(versionNumber)"
}
@@ -161,8 +159,7 @@ class UpdatesVC: NSViewController {
override func awakeFromNib() {
if self.view.layer != nil {
- self.view.window?.backgroundColor = .white
- self.view.layer?.backgroundColor = .white
+ self.view.window?.backgroundColor = .windowBackgroundColor
}
}
diff --git a/Stats/Supporting Files/About.storyboard b/Stats/Supporting Files/About.storyboard
index 4f811814..27b3fca6 100644
--- a/Stats/Supporting Files/About.storyboard
+++ b/Stats/Supporting Files/About.storyboard
@@ -59,8 +59,8 @@
-
-
+
+