02-11-2021 01:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-11-2021 01:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello, I would like to know if this function acquires active zone minutes correctly.
let activeMinutesValue = (userActivity.today.adjusted["activeZoneMinute"] || 0);
txt_active_minutes.text = activeMinutesValue;
Thanks
Answered! Go to the Best Answer.

Accepted Solutions
02-11-2021 03:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-11-2021 03:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
No, it's more like this:
import { today } from "user-activity";
let activeMinutesValue = (today.adjusted.activeZoneMinutes.total || 0);

02-11-2021 03:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-11-2021 03:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
No, it's more like this:
import { today } from "user-activity";
let activeMinutesValue = (today.adjusted.activeZoneMinutes.total || 0);

