mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Remove log message
This commit is contained in:
@@ -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()));
|
||||||
|
|||||||
Reference in New Issue
Block a user