Revert "refactor: Avoid unnecessary bool comparison"
This reverts commit 1cd3a91037.
This commit is contained in:
parent
84993dec59
commit
a9a8b39465
14 changed files with 24 additions and 22 deletions
|
|
@ -179,7 +179,7 @@ class AudioPlayerState extends State<AudioPlayerWidget> {
|
|||
matrixFile.mimeType.toLowerCase() == 'audio/ogg') {
|
||||
Logs().v('Convert ogg audio file for iOS...');
|
||||
final convertedFile = File('${file.path}.caf');
|
||||
if (await convertedFile.exists()) {
|
||||
if (await convertedFile.exists() == false) {
|
||||
OpusCaf().convertOpusToCaf(file.path, convertedFile.path);
|
||||
}
|
||||
file = convertedFile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue