Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Commit

Permalink
chore: flutter format
Browse files Browse the repository at this point in the history
  • Loading branch information
sanket143 authored Aug 31, 2021
1 parent 5f1a64f commit bb54958
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/id3.dart
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ class MP3Instance {
// In ID3v2.2 the MIME type is always 3 characters
if (major_v == 2) {
apic['mime'] = latin1.decode(frame.readBytes(3));
}
else {
} else {
apic['mime'] = frame.readLatin1String();
}
apic['picType'] = PICTYPE[frame.readBytes(1).first] ?? 'Unknown';
Expand Down

0 comments on commit bb54958

Please sign in to comment.