Update flake with direnv; add bashInteractive; fix creating new entries for the new year

This commit is contained in:
2024-01-01 16:23:37 -05:00
parent e01bd9895e
commit fd171b8aa7
3 changed files with 18 additions and 8 deletions
@@ -59,7 +59,7 @@ class _DayViewState extends State<DayView> {
dayEntry = entries.singleWhere((element) => element.$id == formattedDate);
String date = formatDate(
format: "LLL d", dateISO: dayEntry?.data['date'].toString());
// print("Got entry for $date");
print("Got entry for $date");
} catch (e) {
database.getOne(date: formattedDate).then((value) {
dayEntry = value;
@@ -101,8 +101,8 @@ class _DayViewState extends State<DayView> {
Padding(
padding: const EdgeInsets.all(8),
child: GestureDetector(
onTap: () => _setDate(DateTime.now()),
onLongPress: () {
onLongPress: () => _setDate(DateTime.now()),
onTap: () {
showDatePicker(
context: context,
initialDate: _date,