mirror of
https://github.com/dstark5/Openlib.git
synced 2025-08-26 19:10:15 +08:00
added open with feature
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user