Skip to content

Commit 3739ae0

Browse files
authored
Remove unused code (#590)
1 parent f6135aa commit 3739ae0

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

Loop/Extensions/UIImage.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ extension UIImage {
3030

3131
return suffix
3232
}
33-
34-
static func presetsImage(selected: Bool) -> UIImage? {
35-
return UIImage(named: selected ? "presets-selected" : "presets")
36-
}
3733

3834
static func preMealImage(selected: Bool) -> UIImage? {
3935
return UIImage(named: selected ? "Pre-Meal Selected" : "Pre-Meal")

LoopUI/Extensions/UIColor.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ extension UIColor {
1818

1919
@nonobjc static let insulin = UIColor(named: "insulin") ?? systemOrange
2020

21-
@nonobjc static let preset = UIColor(named: "presets") ?? systemBlue
22-
2321
// The loopAccent color is intended to be use as the app accent color.
2422
@nonobjc public static let loopAccent = UIColor(named: "accent") ?? systemBlue
2523

@@ -52,8 +50,6 @@ extension UIColor {
5250

5351
@nonobjc public static let insulinTintColor = insulin
5452

55-
@nonobjc public static let presetTintColor = preset
56-
5753
@nonobjc public static let pumpStatusNormal = insulin
5854

5955
@nonobjc public static let staleColor = critical

0 commit comments

Comments
 (0)