1
0
Fork 0

Merge pull request #680 from rigrig/gbridge-fix

gbridge: fix HRM setting
master
Gordon Williams 2021-03-01 11:49:21 +00:00 committed by GitHub
commit 8fe0bdbf31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -139,7 +139,7 @@
{ "id": "gbridge", { "id": "gbridge",
"name": "Gadgetbridge", "name": "Gadgetbridge",
"icon": "app.png", "icon": "app.png",
"version":"0.20", "version":"0.21",
"description": "The default notification handler for Gadgetbridge notifications from Android", "description": "The default notification handler for Gadgetbridge notifications from Android",
"tags": "tool,system,android,widget", "tags": "tool,system,android,widget",
"readme": "README.md", "readme": "README.md",

View File

@ -20,3 +20,4 @@
0.18: Added reporting of step count and HRM (new Gadgetbridges can now log this) 0.18: Added reporting of step count and HRM (new Gadgetbridges can now log this)
0.19: Support for call incoming/start/end 0.19: Support for call incoming/start/end
0.20: Reduce memory usage 0.20: Reduce memory usage
0.21: Fix HRM setting

View File

@ -31,7 +31,7 @@
}, },
"Find Phone" : function() { E.showMenu(findPhone); }, "Find Phone" : function() { E.showMenu(findPhone); },
"Record HRM" : { "Record HRM" : {
value: settings().hrm, value: !!settings().hrm,
format: v => v?"Yes":"No", format: v => v?"Yes":"No",
onchange: v => updateSetting('hrm', v) onchange: v => updateSetting('hrm', v)
}, },