Merge pull request #251 from yxxyun/fix
fix wrong behaviour on menu button
This commit is contained in:
commit
df30a554df
1 changed files with 3 additions and 6 deletions
|
|
@ -1790,13 +1790,10 @@ 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) {
|
||||
addTorrent(context);
|
||||
}
|
||||
} else if (value == 3 && !widget.isManga){
|
||||
addTorrent(context);
|
||||
}
|
||||
}),
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue