pull/1744/head
kunfei 3 years ago
parent 7f7e40228f
commit 1969bac381
  1. 6
      app/src/main/java/io/legado/app/ui/book/audio/AudioPlayActivity.kt
  2. 1
      app/src/main/res/values-es-rES/strings.xml
  3. 1
      app/src/main/res/values-ja-rJP/strings.xml
  4. 1
      app/src/main/res/values-pt-rBR/strings.xml
  5. 1
      app/src/main/res/values-zh-rHK/strings.xml
  6. 1
      app/src/main/res/values-zh-rTW/strings.xml
  7. 1
      app/src/main/res/values-zh/strings.xml
  8. 1
      app/src/main/res/values/strings.xml

@ -157,7 +157,11 @@ class AudioPlayActivity :
AudioPlay.adjustSpeed(this@AudioPlayActivity, -0.1f) AudioPlay.adjustSpeed(this@AudioPlayActivity, -0.1f)
} }
binding.ivTimer.setOnClickListener { binding.ivTimer.setOnClickListener {
timerViewState.value = true if (AudioPlayService.isRun) {
timerViewState.value = true
} else {
toastOnUi(R.string.cannot_timed_non_playback)
}
} }
binding.composeView.setContent { binding.composeView.setContent {
AppTheme { AppTheme {

@ -964,5 +964,6 @@
<string name="scroll_to_dur_source">定位到当前书源</string> <string name="scroll_to_dur_source">定位到当前书源</string>
<string name="sys_tts_config">系统tts设置</string> <string name="sys_tts_config">系统tts设置</string>
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -967,5 +967,6 @@
<string name="scroll_to_dur_source">定位到当前书源</string> <string name="scroll_to_dur_source">定位到当前书源</string>
<string name="sys_tts_config">系统tts设置</string> <string name="sys_tts_config">系统tts设置</string>
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -967,5 +967,6 @@
<string name="scroll_to_dur_source">定位到当前书源</string> <string name="scroll_to_dur_source">定位到当前书源</string>
<string name="sys_tts_config">系统tts设置</string> <string name="sys_tts_config">系统tts设置</string>
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -964,5 +964,6 @@
<string name="scroll_to_dur_source">定位到当前书源</string> <string name="scroll_to_dur_source">定位到当前书源</string>
<string name="sys_tts_config">系统tts设置</string> <string name="sys_tts_config">系统tts设置</string>
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -966,5 +966,6 @@
<string name="scroll_to_dur_source">定位到目前書源</string> <string name="scroll_to_dur_source">定位到目前書源</string>
<string name="sys_tts_config">系统tts设置</string> <string name="sys_tts_config">系统tts设置</string>
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -966,5 +966,6 @@
<string name="scroll_to_dur_source">定位到当前书源</string> <string name="scroll_to_dur_source">定位到当前书源</string>
<string name="sys_tts_config">系统tts设置</string> <string name="sys_tts_config">系统tts设置</string>
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -967,5 +967,6 @@
<string name="scroll_to_dur_source">定位到当前书源</string> <string name="scroll_to_dur_source">定位到当前书源</string>
<string name="sys_tts_config">系统tts设置</string> <string name="sys_tts_config">系统tts设置</string>
<string name="sys_tts_config_summary">打开系统tts设置界面</string> <string name="sys_tts_config_summary">打开系统tts设置界面</string>
<string name="cannot_timed_non_playback">非播放状态无法定时</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

Loading…
Cancel
Save