Skip to content

Commit

Permalink
Merge pull request #2 from jonmountjoy/fix_bug_in_app_suspension
Browse files Browse the repository at this point in the history
Fix exception thrown when app suspended
  • Loading branch information
bsutton authored Oct 9, 2020
2 parents dd9d44e + 70428c1 commit 24d2490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/media_format/audio.dart
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ class Audio {

@override
String toString() {
var desc = 'MediaFormat: ${mediaFormat.name}';
var desc = 'MediaFormat: ${mediaFormat?.name ?? "NONE"}';
if (_onDisk) {
desc += 'storage: $_storagePath';
}
Expand Down

0 comments on commit 24d2490

Please sign in to comment.