@ -157,7 +157,11 @@ class AudioPlayActivity :
AudioPlay.adjustSpeed(this@AudioPlayActivity, -0.1f)
}
binding.ivTimer.setOnClickListener {
timerViewState.value = true
if (AudioPlayService.isRun) {
} else {
toastOnUi(R.string.cannot_timed_non_playback)
binding.composeView.setContent {
AppTheme {
@ -964,5 +964,6 @@
<string name="scroll_to_dur_source">定位到当前书源</string>
<string name="sys_tts_config">系统tts设置</string>
<string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string>
<!-- string end -->
</resources>
@ -967,5 +967,6 @@
@ -966,5 +966,6 @@
<string name="scroll_to_dur_source">定位到目前書源</string>