fix
This commit is contained in:
parent
94ac7cfcb6
commit
532b4eb6f1
|
@ -38,6 +38,7 @@ Future<void> _importPosts(fileUri) async {
|
||||||
if (line.isEmpty && post != '') {
|
if (line.isEmpty && post != '') {
|
||||||
posts.add(post);
|
posts.add(post);
|
||||||
print('Added post: $post');
|
print('Added post: $post');
|
||||||
|
post = '';
|
||||||
} else {
|
} else {
|
||||||
post += '$line\n';
|
post += '$line\n';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue