@@ -107,11 +107,7 @@ class TwoLineTitleViewDemoController: DemoController {
107107 makeExampleNavigationItem {
108108 $0. title = " Centered Title "
109109 $0. fluentConfiguration. titleStyle = . system
110- if #available( iOS 26 . 0 , * ) {
111- $0. subtitle = " Custom icon "
112- } else {
113- $0. fluentConfiguration. subtitle = " Custom icon "
114- }
110+ $0. fluentConfiguration. subtitle = " Custom icon "
115111 $0. fluentConfiguration. titleImage = UIImage ( named: " ic_fluent_star_24_regular " )
116112 $0. fluentConfiguration. customSubtitleTrailingImage = UIImage ( named: " ic_fluent_star_16_regular " )
117113 $0. fluentConfiguration. titleAccessory = . init( location: . subtitle, style: . custom)
@@ -120,11 +116,7 @@ class TwoLineTitleViewDemoController: DemoController {
120116 makeExampleNavigationItem {
121117 $0. title = " Leading Title "
122118 $0. fluentConfiguration. titleStyle = . leading
123- if #available( iOS 26 . 0 , * ) {
124- $0. subtitle = " Subtitle "
125- } else {
126- $0. fluentConfiguration. subtitle = " Subtitle "
127- }
119+ $0. fluentConfiguration. subtitle = " Subtitle "
128120 $0. fluentConfiguration. titleImage = UIImage ( named: " ic_fluent_star_24_regular " )
129121 $0. fluentConfiguration. customSubtitleTrailingImage = UIImage ( named: " ic_fluent_star_16_regular " )
130122 $0. fluentConfiguration. titleAccessory = . init( location: . title, style: . downArrow)
0 commit comments