Skip to content

Commit 265f863

Browse files
committed
fix: close the Termux tab branch before the dialog footer
1 parent 6f6e266 commit 265f863

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎app/src/main/java/com/example/ui/MainScreen.kt‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3324,13 +3324,12 @@ private fun TermuxAgentRoomDialog(
33243324
modifier = Modifier.fillMaxWidth()
33253325
) { Text("ذخیرهٔ توکن سرویس") }
33263326
}
3327-
if (selectedRoomTab == 1 || selectedRoomTab == 0 || selectedRoomTab == 3) {
33283327
if (output.isNotBlank()) {
33293328
Surface(color = Color(0xFF111318), shape = RoundedCornerShape(12.dp), modifier = Modifier.fillMaxWidth()) {
33303329
Text(output.takeLast(5000), color = Color(0xFFD4D9E2), fontFamily = FontFamily.Monospace, fontSize = 11.sp, modifier = Modifier.padding(10.dp))
33313330
}
33323331
}
3333-
}
3332+
}
33343333
}
33353334
},
33363335
confirmButton = { TextButton(onClick = onDismiss) { Text("بستن") } },

0 commit comments

Comments
 (0)