Browse Source

revert optional in setColor()

B. Petersen 3 years ago
parent
commit
80e11b7c3e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      DcCore/DcCore/Views/InitialsBadge.swift

+ 1 - 1
DcCore/DcCore/Views/InitialsBadge.swift

@@ -112,7 +112,7 @@ public class InitialsBadge: UIView {
         return !label.isHidden
     }
 
-    public func setColor(_ color: UIColor?) {
+    public func setColor(_ color: UIColor) {
         backgroundColor = color
     }