修复语音朗读部分bug

pull/5/head
fengyuecanzhu 4 years ago
parent a3a05ad975
commit 4b30fa834d
  1. 2
      app/src/main/java/xyz/fycz/myreader/ui/dialog/AudioPlayerDialog.java

@ -130,7 +130,7 @@ public class AudioPlayerDialog extends Dialog {
speechRate = 10; speechRate = 10;
sbPitch.setProgress(pitch); sbPitch.setProgress(pitch);
sbSpeechRate.setProgress(speechRate); sbSpeechRate.setProgress(speechRate);
SharedPreUtils.getInstance().putInt("pitch", pitch); SharedPreUtils.getInstance().putInt("readPitch", pitch);
SharedPreUtils.getInstance().putInt("speechRate", speechRate); SharedPreUtils.getInstance().putInt("speechRate", speechRate);
if (ReadAloudService.running) { if (ReadAloudService.running) {
ReadAloudService.pause(mReadActivity); ReadAloudService.pause(mReadActivity);

Loading…
Cancel
Save