Skip to content

Conversation

@ps2
Copy link
Collaborator

@ps2 ps2 commented Apr 24, 2017

No description provided.

@ps2 ps2 merged commit 0bf85be into dev Apr 27, 2017
@ps2 ps2 deleted the swiftcharts-update branch May 13, 2017 00:22
ps2 pushed a commit that referenced this pull request Oct 4, 2021
* LOOP-3853: Puts bolus error description into notification body if need be

Turns out the issue is that the `errorDescription` from the pump manager was being put into an iOS notification's `subtitle` field, which apparently can only be one line.  Thus, if it is too long, it gets ellipsized.
At first I just put it into the `body`, but then I thought that this might not be in the spirit of the original implementation, so I made a conservative estimate for the max length that would fit in the subtitle.  If it fits, it still puts it there.  If it doesn't, it puts it into the body.

* Reverts algorithm that was still trying to use subtitle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants