File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22// Fitness First Widget
33// =======================================
44
5- const VERSION = "1.1.0 " ;
5+ const VERSION = "1.1.1 " ;
66
77const fm = FileManager . local ( ) ;
88const CACHE_DIR = fm . joinPath ( fm . documentsDirectory ( ) , "fitnessfirst-widget-cache" ) ;
@@ -321,18 +321,16 @@ function getUmamiPayload(sessionId) {
321321 data : {
322322 widget_version : VERSION ,
323323 device : {
324- name : Device . name ( ) ,
325324 isUsingDarkApppearance : Device . isUsingDarkAppearance ( ) ,
326325 locale : Device . locale ( ) ,
327- language : Device . language ( ) ,
328326 screen : `${ screen . width } x${ screen . height } ` ,
329- operating_system : Device . systemName ( ) ,
330327 operating_system_version : Device . systemVersion ( ) ,
331- model : Device . model ( ) ,
332- brand : "Apple" ,
333328 } ,
334329 user : {
335- club : SELECTED_CLUB
330+ club : {
331+ name : SELECTED_CLUB ?. name ,
332+ usage_id : SELECTED_CLUB ?. usage_id
333+ }
336334 }
337335 }
338336 }
You can’t perform that action at this time.
0 commit comments