You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* I hate that I cannot use argument labels for function typedefs any more
* There's a bug with the [Any:AnyHashable] as [String:String] at the moment
* type coercion has pretty much gone away.
* fileprivate is *more* private
Copy file name to clipboardExpand all lines: Orangered-Swift/StatusItemController.swift
+34-24
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ class StatusItemController: NSObject, NSUserNotificationCenterDelegate {
27
27
case modmail
28
28
case update
29
29
30
-
privatestaticleturlMap=[
30
+
fileprivatestaticleturlMap=[
31
31
loggedout:nil,
32
32
invalidcredentials:nil,
33
33
disconnected:nil,
@@ -75,7 +75,7 @@ class StatusItemController: NSObject, NSUserNotificationCenterDelegate {
75
75
}
76
76
}
77
77
78
-
privatevarstate=State.disconnected {
78
+
fileprivatevarstate=State.disconnected {
79
79
willSet {
80
80
if newValue != state {
81
81
// In order to avoid having to set flags for handling values set that were already set, we check `willSet`. This, however, necessitates we reschedule handling until the value is actually set as there doesn't seem to be a way to let it set and then call a method synchronously
@@ -86,17 +86,17 @@ class StatusItemController: NSObject, NSUserNotificationCenterDelegate {
0 commit comments