We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7c6c8 commit 86cdd27Copy full SHA for 86cdd27
app/src/main/java/com/simplemobiletools/filemanager/fragments/ItemsFragment.java
@@ -342,7 +342,8 @@ private void shareFiles() {
342
final ArrayList<Uri> uris = new ArrayList<>(itemIndexes.size());
343
for (int i : itemIndexes) {
344
final File file = new File(mItems.get(i).getPath());
345
- uris.add(Uri.fromFile(file));
+ if (!file.isDirectory())
346
+ uris.add(Uri.fromFile(file));
347
}
348
349
final String shareTitle = getResources().getString(R.string.share_via);
0 commit comments