Skip to content

Commit f9513cc

Browse files
committed
Add titlebar accessory view earlier
The titlebar accessory view will be taking appearance changes so we add it before -updateAppearance is called to allow it to be called in the warmup wave.
1 parent c0e79a3 commit f9513cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/App/Classes/Views/Main Window/TVCMainWindow.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ - (void)_awakeFromNib
172172

173173
self.alphaValue = [TPCPreferences mainWindowTransparency];
174174

175+
[self addAccessoryViewsToTitlebar];
176+
175177
[self updateAppearance];
176178

177179
[self reloadLoadingScreen];
@@ -182,8 +184,6 @@ - (void)_awakeFromNib
182184

183185
[self loadWindowState];
184186

185-
[self addAccessoryViewsToTitlebar];
186-
187187
[self updateChannelViewArrangement];
188188

189189
[masterController() applicationWakeStepOne];

0 commit comments

Comments
 (0)