diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index cd48ee4b..0ecc16dc 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,5 +1,4 @@ github: [exelban] patreon: exelban ko_fi: exelban -custom: ["https://www.paypal.com/donate?hosted_button_id=3DS5JHDBATMTC"] -open_collective: stats \ No newline at end of file +custom: ["https://www.paypal.com/donate?hosted_button_id=3DS5JHDBATMTC"] \ No newline at end of file diff --git a/Stats/Supporting Files/Assets.xcassets/support/open_collective.imageset/Contents.json b/Stats/Supporting Files/Assets.xcassets/support/open_collective.imageset/Contents.json deleted file mode 100644 index 24074bb1..00000000 --- a/Stats/Supporting Files/Assets.xcassets/support/open_collective.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "filename" : "open_collective.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Stats/Supporting Files/Assets.xcassets/support/open_collective.imageset/open_collective.png b/Stats/Supporting Files/Assets.xcassets/support/open_collective.imageset/open_collective.png deleted file mode 100644 index dd5a2081..00000000 Binary files a/Stats/Supporting Files/Assets.xcassets/support/open_collective.imageset/open_collective.png and /dev/null differ diff --git a/Stats/Supporting Files/Info.plist b/Stats/Supporting Files/Info.plist index 1d040176..77ff0484 100755 --- a/Stats/Supporting Files/Info.plist +++ b/Stats/Supporting Files/Info.plist @@ -17,7 +17,7 @@ CFBundleShortVersionString $(MARKETING_VERSION) CFBundleVersion - 314 + 315 Description Simple macOS system monitor in your menu bar LSApplicationCategoryType diff --git a/Stats/Views/Settings.swift b/Stats/Views/Settings.swift index 097be7da..dc7c9cd7 100644 --- a/Stats/Views/Settings.swift +++ b/Stats/Views/Settings.swift @@ -278,7 +278,7 @@ private class SettingsView: NSView { private func supportView() -> NSViewController { let vc: NSViewController = NSViewController(nibName: nil, bundle: nil) - let view: NSStackView = NSStackView(frame: NSRect(x: 0, y: 0, width: 200, height: 40)) + let view: NSStackView = NSStackView(frame: NSRect(x: 0, y: 0, width: 160, height: 40)) view.spacing = 0 view.orientation = .horizontal @@ -286,7 +286,6 @@ private class SettingsView: NSView { view.addArrangedSubview(supportButton(name: "PayPal", image: "paypal", action: #selector(self.openPaypal))) view.addArrangedSubview(supportButton(name: "Ko-fi", image: "ko-fi", action: #selector(self.openKofi))) view.addArrangedSubview(supportButton(name: "Patreon", image: "patreon", action: #selector(self.openPatreon))) - view.addArrangedSubview(supportButton(name: "Open Collective", image: "open_collective", action: #selector(self.openOpencollective))) vc.view = view return vc @@ -339,10 +338,6 @@ private class SettingsView: NSView { NSWorkspace.shared.open(URL(string: "https://patreon.com/exelban")!) } - @objc private func openOpencollective(_ sender: NSButton) { - NSWorkspace.shared.open(URL(string: "https://opencollective.com/stats")!) - } - @objc private func closeApp(_ sender: Any) { NSApp.terminate(sender) }