removed legacy code and clippy fixes + fixed ci
Release / Build and Release (push) Failing after 38s

This commit is contained in:
2026-04-01 14:01:16 +02:00
parent bd18bbf866
commit 7a8f70938e
9 changed files with 22 additions and 61 deletions
+2 -2
View File
@@ -121,7 +121,7 @@ fn fetch_audio_data_sync(context: &mut Context, state: &SharedState) -> Result<(
let is_default = item
.name
.as_ref()
.map(|s| s.to_string() == lock.audio.sink.name)
.map(|s| s.as_ref() == lock.audio.sink.name)
.unwrap_or(false);
if is_default {
lock.audio.sink.description = item
@@ -143,7 +143,7 @@ fn fetch_audio_data_sync(context: &mut Context, state: &SharedState) -> Result<(
let is_default = item
.name
.as_ref()
.map(|s| s.to_string() == lock.audio.source.name)
.map(|s| s.as_ref() == lock.audio.source.name)
.unwrap_or(false);
if is_default {
lock.audio.source.description = item