flutter_subtitle_wrapper icon indicating copy to clipboard operation
flutter_subtitle_wrapper copied to clipboard

Issue with empty lines in the file.

Open a-abramov opened this issue 4 years ago • 2 comments

There is an issue with the first empty line. The package displays time 00:00:00.000 --> 00:00:00.500 on the screen after opening instead of an empty line and then it works fine and displaying the text it is the first text line

File sample:

WEBVTT

00:00:00.000 --> 00:00:00.500


00:00:00.500 --> 00:00:02.400
it is the first text line

Package version: subtitle_wrapper_package: ^1.0.4

a-abramov avatar Feb 11 '21 08:02 a-abramov

Thanks for reporting the issue, I am going to look into it.

Joran-Dob avatar Mar 06 '21 13:03 Joran-Dob

@Joran-Dob I made a PR with the temporary solution for this case if someone is looking for it: https://github.com/Joran-Dob/flutter_subtitle_wrapper/pull/44

w3ggy avatar Apr 14 '21 15:04 w3ggy