File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,6 +124,10 @@ class ReaderView extends StackedView<ReaderViewModel> {
124124 color: context.theme.appColors.divider,
125125 ),
126126 ),
127+ if (! viewModel.showSecondaryArea)
128+ SizedBox (
129+ height: MediaQuery .of (context).viewPadding.top,
130+ ),
127131 Expanded (
128132 child: Padding (
129133 padding: const EdgeInsets .symmetric (horizontal: 24.0 ),
Original file line number Diff line number Diff line change 11import 'dart:developer' ;
22import 'package:flutter/material.dart' ;
3+ import 'package:flutter/services.dart' ;
34import 'package:infinite_scroll_pagination/infinite_scroll_pagination.dart' ;
45import 'package:linked_scroll_controller/linked_scroll_controller.dart' ;
56import 'package:stacked/stacked.dart' ;
@@ -9,6 +10,7 @@ import '../../../app/app.locator.dart';
910import '../../../app/app.router.dart' ;
1011import '../../../common/enums.dart' ;
1112import '../../../common/oet_rv_section_start_end.dart' ;
13+ import '../../../common/themes.dart' ;
1214import '../../../services/bibles_service.dart' ;
1315import '../../../services/reader_service.dart' ;
1416import '../../../services/settings_service.dart' ;
@@ -63,6 +65,11 @@ class ReaderViewModel extends ReactiveViewModel {
6365 int currentPage = 0 ;
6466
6567 void initilize () async {
68+ // Color the statusbar
69+ SystemChrome .setSystemUIOverlayStyle (SystemUiOverlayStyle (
70+ statusBarColor: context.theme.appColors.appbarBackground,
71+ ));
72+
6673 if (linkReaderAreaScrolling == true ) {
6774 areasParentController = LinkedScrollControllerGroup ();
6875 primaryAreaController = areasParentController.addAndGet ();
You can’t perform that action at this time.
0 commit comments