mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-20 08:11:03 +02:00
refactor: couple of tiny changes
This commit is contained in:
parent
7b220cb2ae
commit
09ba3816d6
2 changed files with 3 additions and 3 deletions
|
@ -248,7 +248,7 @@ impl BindModeClient for Client {
|
|||
self.add_listener::<swayipc_async::ModeEvent>(move |mode| {
|
||||
tracing::trace!("mode: {:?}", mode);
|
||||
|
||||
// when no bindind is active the bindmode is named "default", but we must display
|
||||
// when no binding is active the bindmode is named "default", but we must display
|
||||
// nothing in this case.
|
||||
let name = if mode.change == "default" {
|
||||
String::new()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue