forked from LoopKit/Loop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add active insulin (IOB) value in Today widget (LoopKit#635)
* Update character count syntax for Swift 4 Avoids warnings from deprecated 'characters' syntax. * Add 1024x1024 icon Avoids compile-time warning about missing icon. Doesn't actually look good at this size - it's just a scaled-up version of a smaller icon, but it avoids the warning. * Add IOB to status widget * Don't set context.activeInsulin on error * Remove ActiveInsulinContext; use NumberFormatter Struct form of ActiveInsulinContext is removed; just use a Double value instead, as with batteryPercentage. Use NumberFormatter to format IOB value. * Fix var vs. let for activeInsulinString * Bump version on StatusExtensionContext * Revert "Update character count syntax for Swift 4" This reverts commit 009e895. * Revert "Add 1024x1024 icon" This reverts commit ca10d0a. * Add IOB label to storyboard * Put IOB label calculation into separate block * Adjust placement of label on storyboard; add constraints * Format IOB label as NSLocalizedString * Set end date for widget glucose chart
- Loading branch information
Showing
4 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters