Skip to content

Commit d793d5d

Browse files
committed
Fix KeyboardButtonStyle optional shadow
1 parent 9c88139 commit d793d5d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Keyboard/KeyboardLayoutEngine/KeyboardButton.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public struct KeyboardButtonStyle {
6969
self.cornerRadius = cornerRadius ?? 5
7070
self.borderColor = borderColor ?? UIColor.clearColor()
7171
self.borderWidth = borderWidth ?? 0
72-
self.shadow = shadow ?? Shadow()
72+
self.shadow = shadow
7373
self.textColor = textColor ?? UIColor.blackColor()
7474
self.font = font ?? UIFont.systemFontOfSize(21)
7575
self.textOffsetY = textOffsetY ?? 0

0 commit comments

Comments
 (0)