Skip to content

Commit

Permalink
fix: remove optional or force unwrap from ProcessIndicatorModel prope…
Browse files Browse the repository at this point in the history
…rties
  • Loading branch information
guoyingtao committed Jun 15, 2023
1 parent 344588a commit 078a51f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Inchworm/Source/Inchworm.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
import UIKit

public struct ProcessIndicatorModel {
var normalIconImage: CGImage?
var dimmedIconImage: CGImage?
var sliderValueRangeType: SliderValueRangeType!
var normalIconImage: CGImage
var dimmedIconImage: CGImage
var sliderValueRangeType: SliderValueRangeType

public init(sliderValueRangeType: SliderValueRangeType, normalIconImage: CGImage?, dimmedIconImage: CGImage?) {
public init(sliderValueRangeType: SliderValueRangeType, normalIconImage: CGImage, dimmedIconImage: CGImage) {
self.normalIconImage = normalIconImage
self.dimmedIconImage = dimmedIconImage
self.sliderValueRangeType = sliderValueRangeType
Expand Down

0 comments on commit 078a51f

Please sign in to comment.