Commit Graph

3 Commits

Author SHA1 Message Date
Paul Plant 295d703be6 removal of ":" from the end of row labels
As the row label and text field have different and consistent formats (bold/colour), it can be implicitly seen that a given label applies to a given field/option so there's no real need to use a colon at the end.

By removing the colon from the string, we can also use them for titles etc without it looking strange

Whilst most labels previously had colons, many were missing which can give the UI a confusing look

Update Main.storyboard
2023-02-03 19:45:44 +00:00
Paul Plant 603db60ff5 Libre 2 NFC re-write
- rewrite of NFC scan workflow
- initial scan of NFC-enabled sensors will now *not* initial BLE scanning
- NFC scan logic redone to perform several loops until a successful NFC scan with valid data is hopefully performed
- UI updated to inform user of scan attempts and give much clearer alert messages.
- haptic feedback (vibrations/noise) added to guide user during scan cycles
- a failed NFC scan will now inform the user and offer to immediately scan again. If the user declines the transmitter will be disconnected (if existing) or removed (if adding new)
- BLE Peripheral view should show correct status in connection row if pending NFC scan to continue
- once a valid NFC scan has been performed, the user will be informed and the superclass will be told to start BLE scanning to find the sensor/transmitter. This will avoid trying to connect before a valid NFC is performed
- the scanned sensor serial number is passed back through the delegate to update the expected device name at the same time as BLE scanning is started. This prevents the app from connecting to a different transmitter (i.e. Libre 2).
- when a Libre 2 sensor is disconnected, the active sensor is set to nil. This prevents the countdown from staying on screen with no valid sensor connected.
- as above but the libre1DerivedParameters are also set to nil to prevent an issue that can show very high readings when initially connecting to a new sensor
- related alert messages changed to improve clarity
- translations added for EN/NL/ES/FR/DE/PT/SV
2023-01-04 13:24:06 +01:00
Johan Degraeve 8f5b3b4038 Missing strings added for fi, fr, it, pl-PL, ru, sl, zh 2021-02-01 21:59:31 +01:00