Skip to content

Commit

Permalink
Update OTPArc+Const.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
eonist committed Nov 1, 2024
1 parent f1fc94b commit 452e882
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Sources/TwoFa/util/OTPArc/OTPArc+Const.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ extension OTPArc {
internal let bgStrokColor: Color
internal let background: Color
internal let lineWidth: CGFloat
/**
* - Note: Needed for public init
*/
public init(tints: (idle: Color, start: Color, end: Color), iconSize: CGFloat, font: Font, fontColor: Color, bgStrokColor: Color, background: Color, lineWidth: CGFloat) {
self.tints = tints
self.iconSize = iconSize
self.font = font
self.fontColor = fontColor
self.bgStrokColor = bgStrokColor
self.background = background
self.lineWidth = lineWidth
}
/**
* Default graph style
*/
Expand Down

0 comments on commit 452e882

Please sign in to comment.