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:
be-nj
2026-08-25 23:59:11 +02:00
parent 0410eda9c9
commit b12bfdf6e8
2 changed files with 17 additions and 9 deletions

View File

@@ -12,8 +12,8 @@ android {
applicationId = "dev.castarr.tv"
minSdk = 26
targetSdk = 35
versionCode = 7
versionName = "0.3.1"
versionCode = 8
versionName = "0.4.0"
}
// Release signing from environment (see ~/.keys/castarr-release.env on the

View File

@@ -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,
)
}
}
}