Show floating TTS control only in text reader
Build & Test / Build & Test App (push) Has been cancelled
Release / Extract tag name (push) Has been cancelled
Release / Build (push) Has been cancelled
Release / Build (FOSS) (push) Has been cancelled
Release / Create GitHub Release (push) Has been cancelled

This commit is contained in:
BookOasis Reader
2026-09-27 01:11:17 +09:00
parent 38a327cdf6
commit c9c119689d
@@ -306,7 +306,10 @@ class ReaderActivity : BaseActivity() {
AppBars(state = state)
if (ttsState.active) {
val showFloatingTts = ttsState.active &&
ttsState.readerChapterId == state.currentChapter?.chapter?.id &&
state.currentChapter?.pages?.any { it is TextReaderPage } == true
if (showFloatingTts) {
IconButton(
onClick = ::toggleTts,
modifier = Modifier