chatgui: verify FFmpeg DLL deployment + fix dependency resolution order
This commit is contained in:
1 parent
9d4538935d
commit
01987a75d0
5 files changed
+52
-14
No files matched your search
+2
-2
@@ -392,12 +392,12 @@ private fun MemberDetailCard(
|
||||
fontSize = 13.sp, color = Color.DarkGray)
|
||||
}
|
||||
}
|
||||
if (detail.bgpPresence) {
|
||||
if (detail.bgpPresence && detail.bgpNodes > 0) {
|
||||
Row(verticalAlignment = Alignment.CenterVertically) {
|
||||
Box(Modifier.size(8.dp).clip(CircleShape).background(Color(0xFF4CAF50)))
|
||||
Spacer(Modifier.width(6.dp))
|
||||
Text("BGP: ${detail.bgpNodes} nodes" +
|
||||
(if (detail.bestRtt > 0) " ${detail.bestRtt}ms" else ""),
|
||||
(if (detail.bestRtt > 0) " ${detail.bestRtt / 10}ms" else ""),
|
||||
fontSize = 13.sp, color = Color.DarkGray)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -345,7 +345,7 @@ class ChatViewModel : ViewModel() {
|
||||
4 -> { if (repo != null) { LogManager.addLog("INFO", "VM", "CHANNEL_UPDATED — refreshChannels"); refreshChannels() } else { LogManager.addLog("WARN", "VM", "CHANNEL_UPDATED skipped — repo is NULL") } }
|
||||
12 -> LogManager.addLog("INFO", "VM", "service started")
|
||||
13 -> LogManager.addLog("INFO", "VM", "service stopped")
|
||||
16 -> { /* NODEINFO_UPDATED: [node_id:8][presence:1][up:1][best_rtt:2] */
|
||||
16 -> { /* NODEINFO_UPDATED: [node_id:8][presence:1][up:1][best_rtt:2][bgp_rtt:2][bgp_nodes:2] */
|
||||
if (data == null || data.size < 12) return
|
||||
val ns = parseNodeStatus(data) ?: return
|
||||
_nodeStatuses.value = _nodeStatuses.value + (ns.nodeId to ns)
|
||||
|
||||
Reference in new issue
Block a user