fix(calc): Fix display of name for Qalculate

This commit is contained in:
Michael Aaron Murphy 2021-08-19 19:55:34 +02:00
parent 810cf39580
commit 78704bba85

View file

@ -61,7 +61,7 @@ impl App {
pub async fn context(&mut self) { pub async fn context(&mut self) {
let options = vec![ContextOption { let options = vec![ContextOption {
id: 0, id: 0,
name: "Qalc Manual".into(), name: "Qalculate! Manual".into(),
}]; }];
crate::send(&mut self.out, PluginResponse::Context { id: 0, options }).await; crate::send(&mut self.out, PluginResponse::Context { id: 0, options }).await;
@ -80,7 +80,7 @@ impl App {
.outcome .outcome
.clone() .clone()
.unwrap_or_else(|| [search, " x = ?"].concat()), .unwrap_or_else(|| [search, " x = ?"].concat()),
description: "Math expressions by Qalc".to_owned(), description: "Math expressions by Qalculate!".to_owned(),
icon: Some(IconSource::Name(Cow::Borrowed("accessories-calculator"))), icon: Some(IconSource::Name(Cow::Borrowed("accessories-calculator"))),
..Default::default() ..Default::default()
}), }),