diff options
Diffstat (limited to 'src/ui')
-rwxr-xr-x | src/ui/tasks_group.rs | 1 | ||||
-rwxr-xr-x | src/ui/tasks_page.rs | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/tasks_group.rs b/src/ui/tasks_group.rs index 86c20dc..564ecb0 100755 --- a/src/ui/tasks_group.rs +++ b/src/ui/tasks_group.rs @@ -60,7 +60,6 @@ glib::wrapper! { pub struct FurTasksGroup( ObjectSubclass<imp::FurTasksGroup>) @extends gtk::Widget, adw::PreferencesGroup; - } impl FurTasksGroup { diff --git a/src/ui/tasks_page.rs b/src/ui/tasks_page.rs index 23439eb..82819c7 100755 --- a/src/ui/tasks_page.rs +++ b/src/ui/tasks_page.rs @@ -143,11 +143,11 @@ impl FurTasksPage { for i in 0..uniq_date_list.len() { let group = FurTasksGroup::new(); if uniq_date_list[i] == today { - group.set_title(&gettext("Today")) + group.set_title(&gettext("Today")); } else if uniq_date_list[i] == yesterday{ - group.set_title(&gettext("Yesterday")) + group.set_title(&gettext("Yesterday")); } else { - group.set_title(&uniq_date_list[i]) + group.set_title(&uniq_date_list[i]); } self.add(&group); group.add_task_model(tasks_sorted_by_day[i].clone()); |