[minor] Unused variable
This commit is contained in:
parent
6c64bcce8e
commit
313f2ed0e9
1 changed files with 2 additions and 2 deletions
|
@ -694,13 +694,13 @@ async fn get_or_insert_calendar(source: &mut Cache, url: &Url)
|
||||||
None => {
|
None => {
|
||||||
let new_name = format!("Test calendar for URL {}", url);
|
let new_name = format!("Test calendar for URL {}", url);
|
||||||
let supported_components = SupportedComponents::TODO;
|
let supported_components = SupportedComponents::TODO;
|
||||||
let color = csscolorparser::parse("#ff8000"); // TODO: we should rather have specific colors, depending on the calendars
|
let color = csscolorparser::parse("#ff8000").unwrap(); // TODO: we should rather have specific colors, depending on the calendars
|
||||||
|
|
||||||
source.create_calendar(
|
source.create_calendar(
|
||||||
url.clone(),
|
url.clone(),
|
||||||
new_name.to_string(),
|
new_name.to_string(),
|
||||||
supported_components,
|
supported_components,
|
||||||
None,
|
Some(color),
|
||||||
).await
|
).await
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue