diff --git a/CloverApp/Clover/Settings.storyboard b/CloverApp/Clover/Settings.storyboard index 0ca9fbf91..6717a9976 100644 --- a/CloverApp/Clover/Settings.storyboard +++ b/CloverApp/Clover/Settings.storyboard @@ -90,7 +90,7 @@ - + @@ -100,7 +100,7 @@ - + @@ -116,7 +116,7 @@ - + @@ -182,15 +182,15 @@ - + - + - + @@ -270,7 +270,7 @@ - + @@ -302,7 +302,7 @@ - + @@ -355,7 +355,7 @@ - + @@ -365,7 +365,7 @@ - + @@ -384,6 +384,10 @@ + + + + @@ -416,6 +420,7 @@ + @@ -423,7 +428,7 @@ - + @@ -432,6 +437,7 @@ + @@ -449,6 +455,7 @@ + @@ -460,6 +467,7 @@ + @@ -470,18 +478,19 @@ - + - + + @@ -491,7 +500,7 @@ - + @@ -502,6 +511,7 @@ + @@ -522,6 +532,7 @@ + diff --git a/CloverApp/Clover/SettingsView.swift b/CloverApp/Clover/SettingsView.swift index 7028c4e9c..fc1676945 100644 --- a/CloverApp/Clover/SettingsView.swift +++ b/CloverApp/Clover/SettingsView.swift @@ -32,6 +32,7 @@ class SettingsViewController: NSViewController, NSTextFieldDelegate, URLSessionD @IBOutlet var progressBar : NSProgressIndicator! @IBOutlet var appVersionField : NSTextField! + @IBOutlet var infoImageView : NSImageView! var lastReleaseRev : String? = nil var lastReleaseLink : String? = nil @@ -126,6 +127,9 @@ class SettingsViewController: NSViewController, NSTextFieldDelegate, URLSessionD let clickVersion = NSClickGestureRecognizer(target: self, action: #selector(goToWebSite)) self.appVersionField.addGestureRecognizer(clickVersion) + + let topic = NSClickGestureRecognizer(target: self, action: #selector(goToTopic)) + self.infoImageView.addGestureRecognizer(topic) } func setUpdateInformations() { @@ -159,6 +163,11 @@ class SettingsViewController: NSViewController, NSTextFieldDelegate, URLSessionD NSWorkspace.shared.open(URL(string: link)!) } + @objc func goToTopic() { + let link = "https://www.insanelymac.com/forum/topic/341047-cloverapp-testing/" + NSWorkspace.shared.open(URL(string: link)!) + } + // MARK: Disks func searchESPDisks() { self.unmountButton.isEnabled = false