~repos /only-bible-app

#kotlin#android#ios

git clone https://pyrossh.dev/repos/only-bible-app.git

The only bible app you will ever need. No ads. No in-app purchases. No distractions.


7222b3b5 pyrossh

2 years ago
Fix bible select title
lib/screens/bible_select_screen.dart CHANGED
@@ -16,7 +16,7 @@ class BibleSelectScreen extends StatelessWidget {
16
16
  child: CustomScrollView(
17
17
  physics: const BouncingScrollPhysics(),
18
18
  slivers: [
19
- SliverHeading(title: AppLocalizations.of(context)!.bibleSelectTitle, showClose: true),
19
+ SliverHeading(title: context.l10n.bibleSelectTitle, showClose: true),
20
20
  SliverTileGrid(
21
21
  listType: ListType.large,
22
22
  children: List.of(
@@ -26,7 +26,7 @@ class BibleSelectScreen extends StatelessWidget {
26
26
  locale: Locale(l.languageCode),
27
27
  child: Builder(
28
28
  builder: (context) {
29
- final bibleName = AppLocalizations.of(context)!.languageTitle;
29
+ final bibleName = context.l10n.languageTitle;
30
30
  return TextButton(
31
31
  child: Text(bibleName),
32
32
  // child: Column(