mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-23 18:36:50 +01:00
fix sleep goal and step goal not being set in database (should fix user attribute table spamming)
This commit is contained in:
parent
0cc95bd297
commit
56c7b6b1cb
@ -266,6 +266,8 @@ public class DBHelper {
|
||||
attributes.setValidFromUTC(now.getTime());
|
||||
attributes.setHeightCM(prefsUser.getHeightCm());
|
||||
attributes.setWeightKG(prefsUser.getWeightKg());
|
||||
attributes.setSleepGoalHPD(prefsUser.getSleepDuration());
|
||||
attributes.setStepsGoalSPD(prefsUser.getStepsGoal());
|
||||
attributes.setUserId(user.getId());
|
||||
session.getUserAttributesDao().insert(attributes);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user