rewrite focus logic in player screen

This commit is contained in:
2026-08-19 19:59:38 +03:00
parent a14a659876
commit d9302caa28
6 changed files with 52 additions and 91 deletions
@@ -280,7 +280,7 @@ private fun MessageBubble(
var boxModifier = Modifier.widthIn(max = 280.dp)
if (isTv) {
boxModifier = boxModifier.focusRequester(itemFocusRequester)
.focusBorder(false)
.focusBorder()
.onKeyEvent {
if (it.type == KeyEventType.KeyDown) {
when (it.key) {
@@ -356,7 +356,7 @@ private fun TextDialog(
} else {
LazyColumn {
itemsIndexed(links) { index, item ->
val mod = Modifier.focusBorder(false)
val mod = Modifier.focusBorder()
TextPreference(
text = item.text,
onClick = { onClickLink(item.text) },