|
@@ -9,6 +9,7 @@ extension Bolus {
|
|
|
override func subscribe() {}
|
|
override func subscribe() {}
|
|
|
|
|
|
|
|
func add() {
|
|
func add() {
|
|
|
|
|
+ guard amount > 0 else { return }
|
|
|
unlockmanager.unlock()
|
|
unlockmanager.unlock()
|
|
|
.sink { _ in } receiveValue: {
|
|
.sink { _ in } receiveValue: {
|
|
|
self.apsManager.enactBolus(amount: Double(self.amount))
|
|
self.apsManager.enactBolus(amount: Double(self.amount))
|