audio: Don't recreate mpris proxies and streams
Fixes https://github.com/pop-os/cosmic-applets/issues/306 and should overall be more correct and performant.
This commit is contained in:
parent
56d3a754e2
commit
1475f8f32b
3 changed files with 168 additions and 172 deletions
|
|
@ -50,7 +50,7 @@ const PLAY: &str = "media-playback-start-symbolic";
|
|||
|
||||
pub fn run() -> cosmic::iced::Result {
|
||||
localize();
|
||||
cosmic::applet::run::<Audio>(true, ())
|
||||
cosmic::applet::run::<Audio>(false, ())
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue