Skip to content

Commit

Permalink
fix #1295
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Jun 3, 2024
1 parent 4d0ffb1 commit 709f3ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/Services/Database.vala
Original file line number Diff line number Diff line change
Expand Up @@ -1645,7 +1645,7 @@ public class Services.Database : GLib.Object {
lock (_items) {
foreach (Objects.Item item in items) {
if (item.has_due &&
item.was_archived () &&
!item.was_archived () &&
item.checked == checked &&
item.due.datetime.compare (date_now) < 0 &&
!Utils.Datetime.is_same_day (item.due.datetime, date_now)) {
Expand Down
2 changes: 1 addition & 1 deletion core/Widgets/DateTimePicker/DateTimePicker.vala
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public class Widgets.DateTimePicker.DateTimePicker : Gtk.Popover {
content_box.append (action_revealer);

var back_item = new Widgets.ContextMenu.MenuItem (_("Back"), "go-previous-symbolic");
calendar_view = new Widgets.Calendar.Calendar (true);
calendar_view = new Widgets.Calendar.Calendar (false);

var calendar_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0) {
hexpand = true
Expand Down

0 comments on commit 709f3ee

Please sign in to comment.