Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liaojinxing committed Aug 29, 2014
1 parent 199d670 commit 423604a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Voice2Note/Source/Controller/NoteListController.m
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ - (void)onResult:(NSArray *)resultArray isLast:(BOOL)isLast
[result appendFormat:@"%@", key];
}
[_resultString appendString:result];
if (isLast) {
if (isLast && _resultString.length > 0) {
VNNote *note = [[VNNote alloc] initWithTitle:nil
content:_resultString
createdDate:[NSDate date]
Expand Down

0 comments on commit 423604a

Please sign in to comment.