~repos /only-bible-app
git clone https://pyrossh.dev/repos/only-bible-app.git
The only bible app you will ever need. No ads. No in-app purchases. No distractions.
4c66eea9
—
pyrossh 2 years ago
fix(audio): use tmp directory
- lib/store/state.dart +1 -1
lib/store/state.dart
CHANGED
|
@@ -277,7 +277,7 @@ onPlay(BuildContext context, Bible bible) async {
|
|
|
277
277
|
} else {
|
|
278
278
|
dispatch(const SetPlaying(true));
|
|
279
279
|
for (final v in versesToPlay) {
|
|
280
|
-
final directory = await
|
|
280
|
+
final directory = await getTemporaryDirectory();
|
|
281
281
|
final pathname = "${bible.name}_${v.book}_${v.chapter}_${v.index}";
|
|
282
282
|
final filepath = "${directory.path}/$pathname.mp3";
|
|
283
283
|
try {
|