mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
fix #76
This commit is contained in:
@@ -511,7 +511,7 @@ class _ImportComicsWidgetState extends State<_ImportComicsWidget> {
|
||||
String info = [
|
||||
"Select a directory which contains the comic files.".tl,
|
||||
"Select a directory which contains the comic directories.".tl,
|
||||
"Select a cbz file.".tl,
|
||||
"Select a cbz/zip file.".tl,
|
||||
"Select an EhViewer database and a download folder.".tl
|
||||
][type];
|
||||
List<String> importMethods = [
|
||||
|
@@ -20,7 +20,7 @@ class ImportComic {
|
||||
const ImportComic({this.selectedFolder, this.copyToLocal = true});
|
||||
|
||||
Future<bool> cbz() async {
|
||||
var file = await selectFile(ext: ['cbz']);
|
||||
var file = await selectFile(ext: ['cbz', 'zip']);
|
||||
Map<String?, List<LocalComic>> imported = {};
|
||||
if(file == null) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user