[minor] Unused variable

This commit is contained in:
daladim 2021-12-24 11:46:35 +01:00
parent 6c64bcce8e
commit 313f2ed0e9

View file

@ -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
} }
} }