Skip to content

Commit 6fffcb8

Browse files
author
Sergey Aleksandrov
committed
Fixed default border color for ORButton. Expected clear border if wasn't set color but nil caused black color
1 parent 1caea44 commit 6fffcb8

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- ORCommonUI-Swift (4.2.9):
2+
- ORCommonUI-Swift (4.2.10):
33
- PureLayout (~> 3.0)
44
- PureLayout (3.0.2)
55

@@ -15,7 +15,7 @@ EXTERNAL SOURCES:
1515
:path: "../"
1616

1717
SPEC CHECKSUMS:
18-
ORCommonUI-Swift: 162546f158776379c8bec15695277401ff93cb7a
18+
ORCommonUI-Swift: 41f9f118ba074b7951d06ec8665e51e981519560
1919
PureLayout: 4d550abe49a94f24c2808b9b95db9131685fe4cd
2020

2121
PODFILE CHECKSUM: c1a7e4ec90bec821daefdc23706a32cb5e39369e

Example/Pods/Local Podspecs/ORCommonUI-Swift.podspec.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/ORCommonUI-Swift/Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ORCommonUI-Swift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = "ORCommonUI-Swift"
11-
s.version = "4.2.9"
11+
s.version = "4.2.10"
1212
s.summary = "ORCommonUI-Swift - UI extensions, custom views, controllers."
1313

1414
# This description is used to generate tags and improve search results.

Pod/Classes/ORButton.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ open class ORButton : UIButton {
3434
}
3535
}
3636

37-
@IBInspectable open var borderColor: UIColor? = nil {
37+
@IBInspectable open var borderColor: UIColor = .clear {
3838
didSet {
39-
layer.borderColor = borderColor?.cgColor
39+
layer.borderColor = borderColor.cgColor
4040
}
4141
}
4242

0 commit comments

Comments
 (0)