Skip to content

Commit 9361a36

Browse files
committed
v2.2
1 parent 8d6f828 commit 9361a36

File tree

3 files changed

+3
-121
lines changed

3 files changed

+3
-121
lines changed

lib/services/db_view.dart

Lines changed: 0 additions & 118 deletions
This file was deleted.

lib/services/file_saver.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Future<void> saveToDevicePdf(String base64String, String title) async {
2222
}
2323
}
2424

25+
// web
2526
Future<void> webSaveToDeviceJpg(String base64String, String title) async {
2627
if (kIsWeb) {
2728
final bytes = base64Decode(base64String);
@@ -36,7 +37,6 @@ Future<void> webSaveToDeviceJpg(String base64String, String title) async {
3637
}
3738
}
3839

39-
@override
4040
Future<void> webSaveToDevicePdf(String base64String, String title) async {
4141
if (kIsWeb) {
4242
final decodedBytes = base64Decode(base64String);
@@ -62,6 +62,7 @@ Future<void> webSaveToDevicePdf(String base64String, String title) async {
6262
}
6363
}
6464

65+
// android
6566
Future<void> androidSaveToDeviceJpg(String base64String, String title) async {
6667
if (await Permission.manageExternalStorage.request().isGranted) {
6768
final file = await base64ToXfile(base64String);
@@ -74,7 +75,6 @@ Future<void> androidSaveToDeviceJpg(String base64String, String title) async {
7475
}
7576
}
7677

77-
@override
7878
Future<void> androidSaveToDevicePdf(String base64String, String title) async {
7979
if (await Permission.manageExternalStorage.request().isGranted) {
8080
final pdfFile = await base64ToPdf(base64String, title);

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: "docibry: Document Library"
33

44
publish_to: "none"
55

6-
version: 2.1.0+1
6+
version: 2.2.0+1
77

88
environment:
99
sdk: ^3.5.0

0 commit comments

Comments
 (0)