added open with feature

This commit is contained in:
dstark5
2023-09-02 03:53:03 -07:00
parent 1de126104d
commit 93013fe6bb
13 changed files with 253 additions and 39 deletions

View File

@ -144,6 +144,9 @@ final getBookPosition =
return await ref.read(dbProvider).getBookState(fileName);
});
final openPdfWithExternalAppProvider = StateProvider<bool>((ref) => false);
final openEpubWithExternalAppProvider = StateProvider<bool>((ref) => false);
final filePathProvider =
FutureProvider.family<String, String>((ref, fileName) async {
String path = await getFilePath(fileName);