Pārlūkot izejas kodu

ActionSheet: viewWillAppear: Call delegate headerViewTitle

(closes #487)
Soomin Lee 6 gadi atpakaļ
vecāks
revīzija
99b6e612ea
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      Sources/ActionSheet/ActionSheet.swift

+ 1 - 0
Sources/ActionSheet/ActionSheet.swift

@@ -160,6 +160,7 @@ class ActionSheet: UIViewController {
         super.viewWillAppear(animated)
         mainStackView.isHidden = true
         collectionView.reloadData()
+        headerView.title.text = delegate?.headerViewTitle?()
         updateViewConstraints()
     }