From 807445eafadc17e853f0b4cf62622a1ddd767517 Mon Sep 17 00:00:00 2001
From: beyond
Date: Sun, 6 Sep 2026 18:31:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20=E6=9B=B4=E6=96=B0selecte?=
=?UTF-8?q?dItem=E4=BB=A5=E6=AD=A3=E7=A1=AE=E4=BC=A0=E9=80=92logo=E7=BB=99?=
=?UTF-8?q?=E6=92=AD=E6=94=BE=E5=99=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 获取series logo后同时更新item和selectedItem
- target = selectedItem ?: item,仅更新item不够
- 确保播放器的titleLogoUrl正确获取logo URL
Co-Authored-By: Claude Opus 5 (1M context)
---
.../kotlin/com/example/myapplication/navigation/AppNavHost.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/src/main/kotlin/com/example/myapplication/navigation/AppNavHost.kt b/app/src/main/kotlin/com/example/myapplication/navigation/AppNavHost.kt
index 2d6ac27..f9feed9 100644
--- a/app/src/main/kotlin/com/example/myapplication/navigation/AppNavHost.kt
+++ b/app/src/main/kotlin/com/example/myapplication/navigation/AppNavHost.kt
@@ -452,6 +452,7 @@ private fun PlayerDestination(
imageTags = (item!!.imageTags ?: emptyMap()) + mapOf("Logo" to seriesItem.logoImageTag!!)
)
item = updated
+ selectedItem = updated
}
} catch (_: Exception) { /* ignore */ }
}