Fixed calendar metadata sync
This commit is contained in:
parent
f2dd528d33
commit
aa02fa182d
9 changed files with 92 additions and 68 deletions
|
@ -80,10 +80,10 @@ impl Item {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn has_same_observable_content(&self, other: &Item) -> bool {
|
||||
pub fn has_same_observable_content_as(&self, other: &Item) -> bool {
|
||||
match (self, other) {
|
||||
(Item::Event(s), Item::Event(o)) => s.has_same_observable_content(o),
|
||||
(Item::Task(s), Item::Task(o)) => s.has_same_observable_content(o),
|
||||
(Item::Event(s), Item::Event(o)) => s.has_same_observable_content_as(o),
|
||||
(Item::Task(s), Item::Task(o)) => s.has_same_observable_content_as(o),
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue