Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
14 changes: 14 additions & 0 deletions CustomizationSelect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,18 @@ function message_for_remote_window() {
printf " https://www.loopandlearn.org/loop-features-in-development#remote-window\n\n"
}

function message_for_ai_food() {
printf " Preliminary customization for AI Foods, PR 2325\n"
printf " Choose other desired customizations first;\n"
printf " and then add this one last.\n"
printf " Order is not independent for this customization with respect to:\n"
printf " Profile Save & Load, Basal Lock and Live Activity\n"
printf " Ignore messages about conflicts after this is appled:\n"
printf " if a customization is already applied before this one,\n"
printf " it remains in place after this one is added\n"
printf " https://github.com/LoopKit/Loop/pull/2325\n\n"
}

# list patches in this order with args:
# User facing information for option
# Folder name in the patch repo
Expand Down Expand Up @@ -783,6 +795,8 @@ add_customization "Negative Insulin Damper" "negative_insulin" "message_for_nega

add_customization "Increase Remote Window to 15 minutes" "remote_window" "message_for_remote_window"

add_customization "Preliminary AI Food" "ai_food" "message_for_ai_food" "1"

add_translation "2002" "profiles"

param_zero_is_customization
Expand Down
14 changes: 14 additions & 0 deletions src/CustomizationSelect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,18 @@ function message_for_remote_window() {
printf " https://www.loopandlearn.org/loop-features-in-development#remote-window\n\n"
}

function message_for_ai_food() {
printf " Preliminary customization for AI Foods, PR 2325\n"
printf " Choose other desired customizations first;\n"
printf " and then add this one last.\n"
printf " Order is not independent for this customization with respect to:\n"
printf " Profile Save & Load, Basal Lock and Live Activity\n"
printf " Ignore messages about conflicts after this is appled:\n"
printf " if a customization is already applied before this one,\n"
printf " it remains in place after this one is added\n"
printf " https://github.com/LoopKit/Loop/pull/2325\n\n"
}

# list patches in this order with args:
# User facing information for option
# Folder name in the patch repo
Expand Down Expand Up @@ -92,6 +104,8 @@ add_customization "Negative Insulin Damper" "negative_insulin" "message_for_nega

add_customization "Increase Remote Window to 15 minutes" "remote_window" "message_for_remote_window"

add_customization "Preliminary AI Food" "ai_food" "message_for_ai_food" "1"

add_translation "2002" "profiles"

param_zero_is_customization
Expand Down