File tree Expand file tree Collapse file tree
App/View Controllers/Posts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -322,9 +322,13 @@ final class PostsPageView: UIView {
322322 renderView. scrollView. indicatorStyle = theme. scrollIndicatorStyle
323323 renderView. setThemeStylesheet ( theme [ " postsViewCSS " ] ?? " " )
324324
325- toolbar. tintColor = Theme . defaultTheme ( ) [ " toolbarTextColor " ] !
326- toolbar. topBorderColor = Theme . defaultTheme ( ) [ " bottomBarTopBorderColor " ]
327- toolbar. isTranslucent = Theme . defaultTheme ( ) [ bool: " tabBarIsTranslucent " ] ?? false
325+ if #available( iOS 26 . 0 , * ) {
326+ toolbar. isTranslucent = Theme . defaultTheme ( ) [ bool: " tabBarIsTranslucent " ] ?? false
327+ } else {
328+ toolbar. tintColor = Theme . defaultTheme ( ) [ " toolbarTextColor " ] !
329+ toolbar. topBorderColor = Theme . defaultTheme ( ) [ " bottomBarTopBorderColor " ]
330+ toolbar. isTranslucent = Theme . defaultTheme ( ) [ bool: " tabBarIsTranslucent " ] ?? false
331+ }
328332
329333 topBar. themeDidChange ( Theme . defaultTheme ( ) )
330334 }
You can’t perform that action at this time.
0 commit comments