Skip to content

Commit

Permalink
♻️ use clock and brave bookmarks plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
friedow committed Oct 31, 2023
1 parent 53246ec commit 6625de2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ impl Application for Centerpiece {
crate::plugin::utils::spawn::<crate::plugin::windows::WindowsPlugin>(),
crate::plugin::applications::Plugin::spawn(),
crate::plugin::brave::progressive_web_apps::Plugin::spawn(),
crate::plugin::git_repositories::Plugin::spawn(),
crate::plugin::brave::bookmarks::Plugin::spawn(),
crate::plugin::utils::spawn::<crate::plugin::git_repositories::GitRepositoriesPlugin>(),
crate::plugin::utils::spawn::<crate::plugin::brave::bookmarks::BookmarksPlugin>(),
crate::plugin::resource_monitor::Plugin::spawn(),
crate::plugin::utils::spawn::<crate::plugin::clock::ClockPlugin>(),
]);
Expand Down
2 changes: 1 addition & 1 deletion client/src/plugin/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl Plugin for WindowsPlugin {
let app_id = node
.app_id
.unwrap_or(String::from("-- window app_id missing --"));
let title = if name != "" { name } else { app_id };
let title = if !name.is_empty() { name } else { app_id };
return crate::model::Entry {
id: node.id.to_string(),
title,
Expand Down

0 comments on commit 6625de2

Please sign in to comment.