|
@@ -23,7 +23,7 @@ import Foundation
|
|
|
carbs: carbs,
|
|
carbs: carbs,
|
|
|
fat: Decimal(quantityFat),
|
|
fat: Decimal(quantityFat),
|
|
|
protein: Decimal(quantityProtein),
|
|
protein: Decimal(quantityProtein),
|
|
|
- note: note,
|
|
|
|
|
|
|
+ note: (note?.isEmpty ?? true) ? "From shortcut" : note!,
|
|
|
enteredBy: CarbsEntry.manual,
|
|
enteredBy: CarbsEntry.manual,
|
|
|
isFPU: false, fpuID: nil
|
|
isFPU: false, fpuID: nil
|
|
|
)],
|
|
)],
|