refactor: optional config subscriptions using dbus
This commit is contained in:
parent
a4d1b1b651
commit
06c33dcf06
14 changed files with 381 additions and 139 deletions
|
|
@ -551,7 +551,7 @@ impl<App: Application> ApplicationExt for App {
|
|||
|
||||
#[cfg(any(feature = "multi-window", feature = "wayland"))]
|
||||
fn title(&self, id: window::Id) -> &str {
|
||||
self.core().title.get(&id).map(|s| s.as_str()).unwrap_or("")
|
||||
self.core().title.get(&id).map_or("", |s| s.as_str())
|
||||
}
|
||||
|
||||
#[cfg(not(any(feature = "multi-window", feature = "wayland")))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue