Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion MinimedKitPlugin/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>com.loopkit.Loop.PumpManagerDisplayName</key>
<string>Minimed</string>
<string>MiniMed x15 / x22 / x23 / x54</string>
<key>com.loopkit.Loop.PumpManagerIdentifier</key>
<string>Minimed500</string>
<key>CFBundleDevelopmentRegion</key>
Expand All @@ -22,5 +22,7 @@
<string>3.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>com.loopkit.Loop.DeviceManufacturer</key>
<string>Medtronic</string>
</dict>
</plist>
5 changes: 4 additions & 1 deletion MinimedKitUI/MinimedPumpManager+UI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ import RileyLinkKitUI


extension MinimedPumpManager: PumpManagerUI {


public static var onboardingImage: UIImage? {
return UIImage.pumpImage(in: nil, isLargerModel: false, isSmallImage: true)
}

public static var pickerImage: UIImage? {
return UIImage.pumpImage(in: .clear, isLargerModel: true, isSmallImage: false)
}

static public func setupViewController(initialSettings settings: PumpManagerSetupSettings, bluetoothProvider: BluetoothProvider, colorPalette: LoopUIColorPalette, allowDebugFeatures: Bool, prefersToSkipUserInteraction: Bool, allowedInsulinTypes: [InsulinType]) -> SetupUIResult<PumpManagerViewController, PumpManagerUI> {
let navVC = MinimedPumpManagerSetupViewController.instantiateFromStoryboard()
navVC.supportedInsulinTypes = allowedInsulinTypes
Expand Down