Remove log message

This commit is contained in:
2016-02-13 09:30:30 -05:00
parent 62aaac084a
commit 45da08e72e

View File

@@ -167,6 +167,12 @@ public class ListHabitsFragment extends Fragment
return true; return true;
} }
if (id == R.id.action_archive_habit)
{
Command c = habit.new ArchiveCommand();
executeCommand(c);
}
return super.onContextItemSelected(menuItem); return super.onContextItemSelected(menuItem);
} }
@@ -176,7 +182,6 @@ public class ListHabitsFragment extends Fragment
if (new Date().getTime() - lastLongClick < 1000) return; if (new Date().getTime() - lastLongClick < 1000) return;
Habit habit = Habit.getByPosition(position); Habit habit = Habit.getByPosition(position);
Log.d("ItemClick", Long.toString(id));
Intent intent = new Intent(getActivity(), ShowHabitActivity.class); Intent intent = new Intent(getActivity(), ShowHabitActivity.class);
intent.setData(Uri.parse("content://org.isoron.uhabits/habit/" + habit.getId())); intent.setData(Uri.parse("content://org.isoron.uhabits/habit/" + habit.getId()));