1) Task is Randomly Chosen and stored on Firebase
2) When task is completed, user can press complete button to get coins depending on task: 150 coins for sleep bar and 100 coins for rest
TODO:
Date should be stored on firebase also, and if date is different compared to stored date, refresh task and update date.
Same goes for other health pages. If date is different compared to stored date, set fields to 0 (for water and pomodoro timer)
Implemented the following changes:
1) Task is Randomly Chosen and stored on Firebase 2) When task is completed, user can press complete button to get coins depending on task: 150 coins for sleep bar and 100 coins for rest
TODO:
Date should be stored on firebase also, and if date is different compared to stored date, refresh task and update date. Same goes for other health pages. If date is different compared to stored date, set fields to 0 (for water and pomodoro timer)
See #117 and #130