Key-hint row in player overlay instead of on-screen buttons
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -248,15 +248,23 @@ private fun Overlay(state: AppState) {
|
||||
)
|
||||
}
|
||||
}
|
||||
Spacer(Modifier.weight(1f))
|
||||
Text(
|
||||
"◀ ▶ wechselt die Tonspur",
|
||||
color = CastarrColors.faint,
|
||||
fontFamily = AppFont,
|
||||
fontSize = 11.sp,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Spacer(Modifier.height(12.dp))
|
||||
// Key hints instead of on-screen buttons — nothing to focus,
|
||||
// nothing to get stuck on (#14 spirit).
|
||||
val trickplay = when {
|
||||
state.audioTracks.size > 1 -> " · ◀ ▶ Tonspur"
|
||||
state.player.player.isCurrentMediaItemSeekable -> " · ◀ ▶ Spulen"
|
||||
else -> ""
|
||||
}
|
||||
Text(
|
||||
"OK Pause/Weiter · ▲ ▼ Sender$trickplay · Zurück Beenden",
|
||||
color = CastarrColors.faint,
|
||||
fontFamily = AppFont,
|
||||
fontSize = 12.sp,
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user