mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-04-22 08:20:39 +02:00
scripts: Fix typo in autoswitch-bluetooth-profile.lua
This commit is contained in:
parent
6d01627cd0
commit
b6c1fdb2e1
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ local last_profiles = {}
|
|||
local active_streams = {}
|
||||
local previous_streams = {}
|
||||
|
||||
function handlePersistantSetting (enable)
|
||||
function handlePersistentSetting (enable)
|
||||
if enable and state == nil then
|
||||
-- the state storage
|
||||
state = config.autoswitch_to_headset_profile and State ("bluetooth-autoswitch") or nil
|
||||
|
|
@ -62,7 +62,7 @@ function loadAppNames (appNames)
|
|||
end
|
||||
end
|
||||
|
||||
handlePersistantSetting (config.use_persistent_storage)
|
||||
handlePersistentSetting (config.use_persistent_storage)
|
||||
loadAppNames (config.autoswitch_applications)
|
||||
|
||||
config:subscribe ("use-persistent-storage", handlePersistentSetting)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue