mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-20 00:09:34 +00:00
123
This commit is contained in:
parent
eb82688248
commit
6ffd76a194
3 changed files with 206 additions and 206 deletions
|
|
@ -164,7 +164,7 @@ class CurrentBook extends _$CurrentBook {
|
||||||
@override
|
@override
|
||||||
api.BookExpanded? build() {
|
api.BookExpanded? build() {
|
||||||
listenSelf((previous, next) {
|
listenSelf((previous, next) {
|
||||||
if (previous == null) {
|
if (next == null) {
|
||||||
final activeLibraryItemId = AvailableHiveBoxes.basicBox
|
final activeLibraryItemId = AvailableHiveBoxes.basicBox
|
||||||
.getAs<String>(CacheKey.activeLibraryItemId);
|
.getAs<String>(CacheKey.activeLibraryItemId);
|
||||||
if (activeLibraryItemId != null) {
|
if (activeLibraryItemId != null) {
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ class ChapterSelectionButton extends HookConsumerWidget {
|
||||||
barrierLabel: S.of(context).chapterSelect,
|
barrierLabel: S.of(context).chapterSelect,
|
||||||
constraints: BoxConstraints(
|
constraints: BoxConstraints(
|
||||||
// 40% of the screen height
|
// 40% of the screen height
|
||||||
maxHeight: MediaQuery.of(context).size.height * 0.4,
|
maxHeight: MediaQuery.of(context).size.height * 0.7,
|
||||||
),
|
),
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return const Padding(
|
return const Padding(
|
||||||
|
|
|
||||||
408
pubspec.lock
408
pubspec.lock
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue