fix wrong behaviour on menu button
This commit is contained in:
parent
28b3f8b0a5
commit
c12b3c3c9c
1 changed files with 3 additions and 6 deletions
|
|
@ -1790,14 +1790,11 @@ class _LibraryScreenState extends ConsumerState<LibraryScreen>
|
|||
mangaM: randomManga,
|
||||
source: randomManga.source!);
|
||||
});
|
||||
}
|
||||
if (value == 2) {
|
||||
} else if (value == 2) {
|
||||
_importLocal(context, widget.isManga);
|
||||
} else {
|
||||
if (!widget.isManga) {
|
||||
} else if (value == 3 && !widget.isManga){
|
||||
addTorrent(context);
|
||||
}
|
||||
}
|
||||
}),
|
||||
],
|
||||
));
|
||||
|
|
|
|||
Loading…
Reference in a new issue