Skip to content

Commit 7d60a05

Browse files
committed
Remove unused formatter
1 parent 0ea36c6 commit 7d60a05

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

LoopUI/StatusBarHUDView.xib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@
355355
<image name="reservoir" width="28" height="44"/>
356356
<image name="reservoir_mask" width="28" height="39"/>
357357
<namedColor name="warning">
358-
<color red="0.86299997568130493" green="0.45500001311302185" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
358+
<color red="0.91699999570846558" green="0.7630000114440918" blue="0.26899999380111694" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
359359
</namedColor>
360360
<systemColor name="secondaryLabelColor">
361361
<color red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>

StatusWidget/LoopCircleView.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,4 @@ struct LoopCircleView: View {
3737
return Color.red
3838
}
3939
}
40-
41-
static let formatter: DateComponentsFormatter = {
42-
let formatter = DateComponentsFormatter()
43-
44-
formatter.allowedUnits = [.day, .hour, .minute]
45-
formatter.maximumUnitCount = 1
46-
formatter.unitsStyle = .short
47-
48-
return formatter
49-
}()
5040
}

0 commit comments

Comments
 (0)