Skip to content

Commit a8e1f26

Browse files
committed
Override vars to configure header for Feature Introduction.
1 parent 7dc7aae commit a8e1f26

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

WordPress/Classes/ViewRelated/Feature Introduction/FeatureIntroductionViewController.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,20 @@ class FeatureIntroductionViewController: CollapsableHeaderViewController {
2525

2626
weak var featureIntroductionDelegate: FeatureIntroductionDelegate?
2727

28+
// MARK: - Header View Configuration
29+
30+
override var separatorStyle: SeparatorStyle {
31+
return .hidden
32+
}
33+
34+
override var alwaysResetHeaderOnRotation: Bool {
35+
WPDeviceIdentification.isiPhone()
36+
}
37+
38+
override var alwaysShowHeaderTitles: Bool {
39+
true
40+
}
41+
2842
// MARK: - Init
2943

3044
init(headerTitle: String,

0 commit comments

Comments
 (0)