Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit a732779

Browse files
authored
UICircularTimerRing valueFormatter type updated.
added type to valueFormatter to fix bug when trying to subclass UICircularRingValueFormatter.
1 parent e684afb commit a732779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UICircularProgressRing/UICircularTimerRing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final public class UICircularTimerRing: UICircularRing {
3333

3434
Default formatter is of type `UICircularTimerRingFormatter`.
3535
*/
36-
public var valueFormatter = UICircularTimerRingFormatter() {
36+
public var valueFormatter: UICircularRingValueFormatter = UICircularTimerRingFormatter() {
3737
didSet { ringLayer.valueFormatter = valueFormatter }
3838
}
3939

0 commit comments

Comments
 (0)