name change

This commit is contained in:
Kevin G Christiano 2020-03-24 11:04:28 -04:00
parent a1d43e338c
commit dbff191a8b
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ import UIKit
set (newFeedback) { set (newFeedback) {
feedbackLabel.text = newFeedback feedbackLabel.text = newFeedback
feedbackLabel.accessibilityElementsHidden = feedbackLabel.text?.isEmpty ?? true feedbackLabel.accessibilityElementsHidden = feedbackLabel.text?.isEmpty ?? true
entryFieldContainer.refreshUI(moleculeLayoutUpdated: true) entryFieldContainer.refreshUI(updateMoleculeLayout: true)
} }
} }

View File

@ -260,7 +260,7 @@ import UIKit
refreshUI(bottomBarSize: 1) refreshUI(bottomBarSize: 1)
} }
open func refreshUI(bottomBarSize: CGFloat? = nil, moleculeLayoutUpdated: Bool = false) { open func refreshUI(bottomBarSize: CGFloat? = nil, updateMoleculeLayout: Bool = false) {
if !disableAllBorders { if !disableAllBorders {
let size: CGFloat = bottomBarSize ?? (showError ? 4 : 1) let size: CGFloat = bottomBarSize ?? (showError ? 4 : 1)
@ -271,7 +271,7 @@ import UIKit
} }
bottomBar?.frame = CGRect(x: 0, y: bounds.height - size, width: bounds.width, height: size) bottomBar?.frame = CGRect(x: 0, y: bounds.height - size, width: bounds.width, height: size)
if moleculeLayoutUpdated || heightChanged { if updateMoleculeLayout || heightChanged {
delegateObject?.moleculeDelegate?.moleculeLayoutUpdated(self) delegateObject?.moleculeDelegate?.moleculeLayoutUpdated(self)
} }