Fix for Astrid crash when using timers. Version bump

pull/14/head
Tim Su 14 years ago
parent 93ac196557
commit b92256303e

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.timsu.astrid"
android:versionName="3.6.3"
android:versionCode="169">
android:versionName="3.6.4"
android:versionCode="170">
<!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
<!-- android:installLocation="internalOnly"> -->

@ -308,7 +308,7 @@ public class TaskAdapter extends CursorAdapter implements Filterable {
// complete box
final CheckBox completeBox = viewHolder.completeBox; {
// show item as completed if it was recently checked
if(completedItems.containsKey(task.getId())) {
if(completedItems.get(task.getId()) != null) {
task.setValue(Task.COMPLETION_DATE,
completedItems.get(task.getId()) ? DateUtilities.now() : 0);
}

Loading…
Cancel
Save