Update App Store button width to align text with other buttons

  - Also, comment out test
parent d1d0a3e3
......@@ -949,9 +949,9 @@ Gw
<button hidden="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="I5Z-N3-fs0">
<rect key="frame" x="391" y="53" width="95" height="32"/>
<rect key="frame" x="404" y="53" width="82" height="32"/>
<constraint firstAttribute="width" constant="83" id="erA-C5-aUh"/>
<constraint firstAttribute="width" constant="70" id="erA-C5-aUh"/>
<buttonCell key="cell" type="push" title="App Store" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="IcT-YP-ZR6">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
......@@ -189,14 +189,14 @@ class StatusAreaController: NSTitlebarAccessoryViewController
let json = try JSONSerialization.jsonObject(with: data, options: [.allowFragments]) as? [String: Any]
let result = (json?["results"] as? [Any])?.first as? [String: Any], var version = result["version"] as? String
let result = (json?["results"] as? [Any])?.first as? [String: Any], let version = result["version"] as? String
throw VersionError.invalidResponse
// Test – also set version to var from let, above.
version = "2017.3"
// version = "2017.3"
DispatchQueue.main.async { completion(version != self.currentVersion, version, nil) }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment