mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-02 03:01:04 +02:00
refactor: fix new strict clippy warnings
This commit is contained in:
parent
d58d8952a8
commit
aaef3bf96c
8 changed files with 24 additions and 29 deletions
|
@ -93,7 +93,7 @@ impl Bar {
|
|||
Propagation::Proceed
|
||||
});
|
||||
|
||||
Bar {
|
||||
Self {
|
||||
name,
|
||||
monitor_name,
|
||||
position,
|
||||
|
@ -131,7 +131,9 @@ impl Bar {
|
|||
monitor,
|
||||
);
|
||||
|
||||
let start_hidden = config.start_hidden.unwrap_or(config.autohide.is_some());
|
||||
let start_hidden = config
|
||||
.start_hidden
|
||||
.unwrap_or_else(|| config.autohide.is_some());
|
||||
|
||||
if let Some(autohide) = config.autohide {
|
||||
let hotspot_window = Window::new(WindowType::Toplevel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue