removed plural

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-04-25 14:56:58 -05:00
parent 52dea2a72e
commit 18c68b3949

View File

@ -171,7 +171,7 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
open var showBorder: Bool = false { didSet { setNeedsUpdate() } }
/// Determines if there is a drop shadow or not.
open var showDropShadows: Bool = false { didSet { setNeedsUpdate() } }
open var showDropShadow: Bool = false { didSet { setNeedsUpdate() } }
//--------------------------------------------------
// MARK: - Constraints
@ -274,7 +274,7 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
width = nil
height = nil
showBorder = false
showDropShadows = false
showDropShadow = false
shouldUpdateView = true
setNeedsUpdate()
}
@ -316,7 +316,7 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
widthConstraint?.isActive = false
heightConstraint?.isActive = false
}
if showDropShadows, surface == .light {
if showDropShadow, surface == .light {
addDropShadow(dropShadowConfiguration)
} else {
removeDropShadows()