fix: appeler refresh_volume_limits sur app, pas self
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:
parent
673547dc52
commit
b2126a9f2b
2 changed files with 183 additions and 355 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue