Skip to content

Commit

Permalink
public fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CreatFish committed Apr 24, 2022
1 parent dc1d278 commit 6cfc5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/did-motif-ios/DIDMotifUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public extension DIDMotifUtils {
return UIBezierPath.init(roundedRect: CGRect(x: 0, y: 0, width: side, height: side), cornerRadius: side/2)
}

static func cornerRadiusWith(side: CGFloat) -> CGFloat {
public static func cornerRadiusWith(side: CGFloat) -> CGFloat {
return side > 80 ? 10 : floor(0.1*side + 2)
}

Expand Down

0 comments on commit 6cfc5f2

Please sign in to comment.