From 2326e5573cd520f8b49936f6859360ab251a58b0 Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Wed, 26 Jun 2019 00:24:09 +0200 Subject: [PATCH] white background in updates storyboard --- Stats/AppDelegate.swift | 7 +++++++ Stats/Supporting Files/Info.plist | 2 +- Stats/Supporting Files/Updates.storyboard | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Stats/AppDelegate.swift b/Stats/AppDelegate.swift index b4e7d474..85c61af1 100755 --- a/Stats/AppDelegate.swift +++ b/Stats/AppDelegate.swift @@ -131,6 +131,13 @@ class UpdatesVC: NSViewController { } } + override func awakeFromNib() { + if self.view.layer != nil { + self.view.window?.backgroundColor = .white + self.view.layer?.backgroundColor = .white + } + } + @IBAction func download(_ sender: Any) { guard let urlString = self.url, let url = URL(string: urlString) else { return diff --git a/Stats/Supporting Files/Info.plist b/Stats/Supporting Files/Info.plist index ec5d4c34..4b3490c4 100755 --- a/Stats/Supporting Files/Info.plist +++ b/Stats/Supporting Files/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString 1.2.0 CFBundleVersion - 1 + 2 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/Stats/Supporting Files/Updates.storyboard b/Stats/Supporting Files/Updates.storyboard index 7269c41f..15a7697b 100644 --- a/Stats/Supporting Files/Updates.storyboard +++ b/Stats/Supporting Files/Updates.storyboard @@ -10,8 +10,8 @@ - - + +