mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fixed update and about window in dark mode
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -59,8 +59,8 @@
|
||||
<rect key="frame" x="0.0" y="95" width="252" height="61"/>
|
||||
<subviews>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="I2K-b4-4R0">
|
||||
<rect key="frame" x="-2" y="17" width="78" height="44"/>
|
||||
<textFieldCell key="cell" lineBreakMode="clipping" title="Stats" id="4dC-76-a7n">
|
||||
<rect key="frame" x="-2" y="17" width="142" height="44"/>
|
||||
<textFieldCell key="cell" lineBreakMode="clipping" title="macStats" id="4dC-76-a7n">
|
||||
<font key="font" metaFont="systemThin" size="36"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
|
||||
Reference in New Issue
Block a user