Skip to content

An open-source cross-platform alternative to AirDrop

fix: remove android sdk constraint

Tien Do Namc0f64c8f70b7
diff --git a/app/lib/util/native/file_saver.dart b/app/lib/util/native/file_saver.dart
index b4205393..ed073f8b 100644
--- a/app/lib/util/native/file_saver.dart
+++ b/app/lib/util/native/file_saver.dart
@@ -38,7 +38,7 @@ Future<void> saveFile({
name,
isImage ? 'image/*' : '*/*',
);
- } else if (androidSdkInt <= 29) {
+ } else {
final sdCardPath = getSdCardPath(destinationPath);
if (sdCardPath != null) {
// Use Android SAF to save the file to the SD card