TDD 11 - fix DanaR
This commit is contained in:
parent
fcf8569b1e
commit
fd1e78acef
1 changed files with 1 additions and 1 deletions
|
@ -987,7 +987,7 @@ public class DatabaseHelper extends OrmLiteSqliteOpenHelper {
|
||||||
getDaoDanaRHistory().createOrUpdate(record);
|
getDaoDanaRHistory().createOrUpdate(record);
|
||||||
|
|
||||||
//If it is a TDD, store it for stats also.
|
//If it is a TDD, store it for stats also.
|
||||||
if(record.recordCode == RecordTypes.RECORD_TYPE_BOLUS){
|
if(record.recordCode == RecordTypes.RECORD_TYPE_DAILY){
|
||||||
createOrUpdateTDD(new TDD(record.recordDate, record.recordDailyBolus, record.recordDailyBasal, 0));
|
createOrUpdateTDD(new TDD(record.recordDate, record.recordDailyBolus, record.recordDailyBasal, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue