Skip to content

Commit a6ebf20

Browse files
Add note about unfinished state of the OET text
1 parent 9a11204 commit a6ebf20

6 files changed

Lines changed: 83 additions & 166 deletions

File tree

lib/app/app.locator.dart

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/app/app.router.dart

Lines changed: 44 additions & 111 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ui/views/navigation_sections_chapters/navigation_sections_chapters_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class NavigationSectionsChaptersView extends StackedView<NavigationSectionsChapt
105105
itemBuilder: (BuildContext context, int index) {
106106
return InkWell(
107107
borderRadius: BorderRadius.circular(12.0),
108-
onTap: () => viewModel.onTapChapterItem(index+1), // +1 because the chapters start at 1.
108+
onTap: () => viewModel.onTapChapterItem(index + 1), // +1 because the chapters start at 1.
109109
child: Center(
110110
child: Text(
111111
viewModel.bookChapters[index],

lib/ui/views/navigation_sections_chapters/navigation_sections_chapters_viewmodel.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class NavigationSectionsChaptersViewModel extends BaseViewModel {
6262
_biblesService.setBook(bookCode);
6363
_biblesService.addBookToRecentHistory(bookCode);
6464
String sectionHeading = sections[index][0];
65-
65+
6666
log(sectionHeading);
6767
_biblesService.setSection(index);
6868

lib/ui/views/reader/reader_view.dart

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,17 @@ class ReaderView extends StackedView<ReaderViewModel> {
198198
),
199199
),
200200
),
201+
if (viewModel.primaryAreaBible != 'KJV' || viewModel.secondaryAreaBible != 'KJV')
202+
Padding(
203+
padding: const EdgeInsets.symmetric(vertical: 4.0, horizontal: 12.0),
204+
child: Text(
205+
'This is still a very early look into the unfinished text of the Open English Translation of the Bible. Please double-check the text in advance before using in public.',
206+
style: TextStyle(
207+
fontSize: 8.0,
208+
color: context.theme.appColors.readerText,
209+
),
210+
),
211+
),
201212
],
202213
),
203214
if (viewModel.isSecondaryReaderAreaPopupActive)

0 commit comments

Comments
 (0)