File tree 1 file changed +5
-5
lines changed
Vienna/Sources/Main window
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -98,22 +98,22 @@ extension BrowserTab {
98
98
99
99
if showRssButton {
100
100
// show rss button
101
- rssButtonWidth. constant = 40
101
+ rssButtonWidth? . constant = 40
102
102
} else {
103
103
// hide rss button
104
- rssButtonWidth. constant = 0
104
+ rssButtonWidth? . constant = 0
105
105
}
106
106
107
- addressBarContainer. needsLayout = true
107
+ addressBarContainer? . needsLayout = true
108
108
109
109
if viewVisible {
110
110
NSAnimationContext . runAnimationGroup ( { _ in
111
111
NSAnimationContext . current. duration = 0.2
112
112
NSAnimationContext . current. allowsImplicitAnimation = true
113
- self . addressBarContainer. layoutSubtreeIfNeeded ( )
113
+ self . addressBarContainer? . layoutSubtreeIfNeeded ( )
114
114
} , completionHandler: nil )
115
115
} else {
116
- self . addressBarContainer. layoutSubtreeIfNeeded ( )
116
+ self . addressBarContainer? . layoutSubtreeIfNeeded ( )
117
117
}
118
118
}
119
119
You can’t perform that action at this time.
0 commit comments