Added jam

This commit is contained in:
Ultradesu
2026-07-28 18:58:38 +01:00
parent d4c219837b
commit 34153cca9d
+1 -9
View File
@@ -505,15 +505,7 @@ fn draw_connected_devices(frame: &mut Frame, state: &AppState, cursor: usize) {
let jam_status = match state.jam.role {
crate::jam::JamRole::None => "inactive · h host · J join".to_string(),
crate::jam::JamRole::Host => format!(
"HOST {} · {} participant(s) · c copy invite · h regenerate · l leave",
state
.jam
.jam_id
.as_deref()
.unwrap_or_default()
.chars()
.take(12)
.collect::<String>(),
"HOST · {} peer(s) · c copy · h new · l leave",
state.jam.participants.len()
),
crate::jam::JamRole::Participant => format!(