This commit is contained in:
2024-11-30 20:52:55 +08:00
committed by nyne
parent d96b36414d
commit d56e3fd59f
3 changed files with 4 additions and 4 deletions

View File

@@ -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 = [

View File

@@ -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;