Skip to content

Commit df719c9

Browse files
author
Rick Pasetto
authored
LOOP-1870: Use selected default emoji even if user hasn't chosen a custom emoji to store (#316)
1 parent 5b14269 commit df719c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loop/View Controllers/CarbEntryViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ final class CarbEntryViewController: LoopChartsTableViewController, Identifiable
129129
date: lastEntryDate,
130130
quantity: quantity,
131131
startDate: date,
132-
foodType: foodType,
132+
foodType: foodType ?? selectedDefaultAbsorptionTimeEmoji,
133133
absorptionTime: absorptionTime
134134
)
135135
} else {

0 commit comments

Comments
 (0)