Commit graph

814 commits

Author SHA1 Message Date
Milos Kozak 817ec086a1 prevent IndexOutOfBoundsException 2020-08-09 17:43:51 +02:00
Philoul adc71aae08 Update Overview Layout for Arrow icons
Add a directionToIcon function in BGReading
Move arrow icons to core
2020-08-08 19:09:21 +02:00
Andy Rozman 20e2bf0b06 Merge branch 'dev' into medtronic_modules 2020-07-31 11:21:05 +01:00
Milos Kozak 400e9399a5 MinutesNumberPicker 2020-07-27 21:11:57 +02:00
Andy Rozman 996417bb47 Merge branch 'dev' into medtronic_modules 2020-07-25 00:44:09 +01:00
Milos Kozak bad7a584c6 cleanup nsclient settings 2020-07-24 13:30:19 +02:00
Dominik Dzienia 310c0b9137 Refactor hardcoded error messages to be translatable 2020-07-23 13:42:55 +02:00
Dominik Dzienia 3d0c214f44 Fix crash when user insist on exporting preferences while denying granting storage permission
* Handles IO errors and display toast about FS / permission errors
* Clarify text - storage permissions are needed not only for logs, but for export too
2020-07-23 13:33:15 +02:00
Dominik Dzienia 4068cd72ca Fix crash when preferences import list is opened for the second time (due to buggy implementation of ActivityResult and Contracts in early androidx)
* updated to newest version of fragments where bug is fixed
* catched exception and inform user with Toast
* refactor duplicated code in ImportExportPrefs
2020-07-23 12:59:42 +02:00
Milos Kozak 74ca36bb6e fix NPE 2020-07-21 22:14:46 +02:00
Milos Kozak 05eee2ebb9 fix user message time 2020-07-20 13:28:07 +02:00
Milos Kozak 3174b8219e
Merge pull request #2821 from Philoul/FixOverviewTBRIcon
Fix TBR icon even with 100% percent set
2020-07-20 08:14:12 +02:00
Milos Kozak 39b4eac60f add delay to executing automations 2020-07-15 22:46:59 +02:00
Philoul 61c3391eb5 Fix TBR icon even with TBR 100% set 2020-07-15 21:15:49 +02:00
Milos Kozak 9ff3011514 fix current location button 2020-07-15 20:06:45 +02:00
Andy Rozman 6e50c3651d Merge branch 'dev' into medtronic_modules 2020-07-12 20:21:03 +01:00
Andy Rozman ea80eb3c9b - created 2 modules: rileylink and medtronic
- refactored some classes
2020-07-12 20:15:11 +01:00
Milos Kozak 112032ab0e fix nullable params 2020-07-09 14:26:19 +02:00
Milos Kozak 950e3a677b
Merge pull request #2804 from Tornado-Tim/greenbox-fix
Fix: Green Glucose Target override
2020-07-08 23:07:31 +02:00
Milos Kozak 45f168d427 fix nsclient layout 2020-07-08 22:29:26 +02:00
Tim Gunn a93485a3c0
Fix the greenbox 2020-07-09 00:46:10 +12:00
Milos Kozak 2b7cb0d558 prevent kotlin exceptions 2020-07-07 17:16:22 +02:00
Milos Kozak 91bc31ba1b fix tablet mode 2020-07-04 10:22:37 +02:00
Milos Kozak 9c57e6b9b9 prevent NPE 2020-07-03 10:46:19 +02:00
Milos Kozak 1f71da4346 overview target logging 2020-07-03 10:38:16 +02:00
Milos Kozak 9361010e46 do not run automation in main thread 2020-07-03 00:19:51 +02:00
Milos Kozak c2ae713cc4 prevent NPE: 2020-07-02 23:50:38 +02:00
Milos Kozak e9670dd20a fix displaying cob for nsclient 2020-07-02 23:35:19 +02:00
Milos Kozak 6e88d127e5 fix grabbing SSID info 2020-07-02 22:45:47 +02:00
Milos Kozak d66d362aa3
Merge pull request #2775 from Philoul/BGDeltaConsistency
BG Deltas consistency enhancement
2020-06-30 23:01:56 +02:00
Tim Gunn 2391ebe399
Remove the amount of carbs required from the main overview if a carb treatment has been made after APS run 2020-06-27 01:03:25 +12:00
Milos Kozak d04cf567b8
Merge pull request #2776 from Philoul/AutomationTempTargetMmol
Fix mmol units in automation Temp Target Action
2020-06-26 10:59:48 +02:00
Philoul 5f02a1cc84 Fix units in Automation TT Action 2020-06-26 09:28:12 +02:00
Philoul d28770ac08 Forgotten prediction lines 2020-06-25 21:33:45 +02:00
Philoul 2656e6a12c BG Deltas consistency enhancement
- Delta after minutes and label right aligned in layout (hard coded for label as it was in OverviewFragment)
- Signed delta avg values
2020-06-25 18:16:10 +02:00
Philoul 2606e51eb1 Second Fix, send all raw values sent in mg/dl (BG values, lowline and highline)
It's hard coded in mg/dl in Wear
Minor improvement in Wear code (just increase a little bit highest BG value in graphs, 400 mg/dl is sometimes too low => updated to 450 mg/dl)
2020-06-25 17:02:18 +02:00
Milos Kozak 4d5880f034
Merge pull request #2741 from Philoul/Vector_Icons
Vector icons
2020-06-23 10:31:52 +02:00
Milos Kozak be6c184061 try to catch startup error 2020-06-22 23:31:13 +02:00
Milos Kozak 63bf758636
Merge pull request #2747 from Philoul/Fix_Color_Watch_mmol
Fix "always yellow" in watch even if within range (mmol unit)
2020-06-22 21:06:30 +02:00
Milos Kozak 500de5fa2d fix status lights 2020-06-22 21:01:32 +02:00
Philoul 7f32881e10 Fix "always yellow" in watch 2020-06-20 14:54:54 +02:00
Philoul d55c9d9ff6 Update Layout and code with new icons 2020-06-19 14:24:31 +02:00
Dominik Dzienia 7f62450d99 Fix prediction data sent to WearOS by properly reacalculating them into current app unit 2020-06-17 15:53:46 +02:00
Dominik Dzienia 6b7420d0b7 Fix data sent to WearOS by properly reacalculating them into current app unit 2020-06-17 15:10:25 +02:00
Milos Kozak 782b109ebe
Merge pull request #2716 from Philoul/Replace_Png_Icons
Replace some png icons by vector
2020-06-16 22:16:34 +02:00
Philoul 5c2c8b5190 Safe Delete done
Forgotten usage added
2020-06-16 19:46:42 +02:00
Philoul 87f7dc0422 Delta added and clone lightened 2020-06-15 19:15:06 +02:00
Philoul acfd9621b7 replace 4 LowRes Icons (add, remove, clone and as)
For add, remove and clone I set width and height to 16dp (automatically scaled in Local Profile layout but not in automation)
for as, I replaced low res icon by double arrows of overview fragment (size a little bit increased because in automation icons are very small)
2020-06-15 16:48:35 +02:00
Milos Kozak bb5157bcca synchronized updateGui 2020-06-15 11:21:39 +02:00
Philoul 129c3d82d6 Seven loop icons done 2020-06-14 01:57:54 +02:00