fix: appeler refresh_volume_limits sur app, pas self
Some checks failed
Continuous Integration / formatting (push) Has been cancelled
Continuous Integration / linting (push) Has been cancelled

Le patch yoda 5b838a67 est conserve (il initialise les plafonds sink ET
source, contrairement au code inline amont) mais il est desormais dans
une closure recevant `app: &mut Self` : l appel sur `self` ne compilait
plus.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lionel DARNIS 2026-08-19 22:18:37 +02:00
parent 673547dc52
commit b2126a9f2b
2 changed files with 183 additions and 355 deletions

536
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -330,7 +330,7 @@ impl cosmic::Application for Audio {
let new_id = window::Id::unique();
app.popup.replace(new_id);
self.refresh_volume_limits();
app.refresh_volume_limits();
let mut popup_settings = app.core.applet.get_popup_settings(
app.core.main_window_id().unwrap(),