mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-09 18:48:51 -06:00
Minor refactoring
This commit is contained in:
@@ -207,10 +207,10 @@ public class CheckmarkList
|
||||
try
|
||||
{
|
||||
SQLiteStatement statement = db.compileStatement(query);
|
||||
statement.bindString(1, habit.getId().toString());
|
||||
|
||||
for (int i = 0; i < timestamps.length; i++)
|
||||
{
|
||||
statement.bindLong(1, habit.getId());
|
||||
statement.bindLong(2, timestamps[i]);
|
||||
statement.bindLong(3, values[i]);
|
||||
statement.execute();
|
||||
|
||||
Reference in New Issue
Block a user