diff --git a/lib/models.dart b/lib/models.dart index fbaf46ea..f4fa057e 100644 --- a/lib/models.dart +++ b/lib/models.dart @@ -77,11 +77,11 @@ List parseBible(String bibleName, String text) { continue; } final arr = line.split("|"); - final book = int.parse(arr[0])-1; - final chapter = int.parse(arr[1])-1; - final verseNo = int.parse(arr[2])-1; - final heading = ""; - final verseText = arr.sublist(3, arr.length).join("|"); + final book = int.parse(arr[0]); + final chapter = int.parse(arr[1]); + final verseNo = int.parse(arr[2]); + final heading = arr[3]; + final verseText = arr.sublist(4, arr.length).join("|"); if (books.length < book + 1) { books.add( Book(