Skip to content

Commit

Permalink
Turn off DAM while using share intent method
Browse files Browse the repository at this point in the history
It's not the perfect solution, but it works well enough.
(Share intent method would fail while DAM is active due to change of path.)
  • Loading branch information
uintdev committed Dec 14, 2023
1 parent 05efcf4 commit e1f142f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class _Page extends State<PageState> with WidgetsBindingObserver {
// Update button state
setState(() {
_actionButtonLoading = true;
FileManager.directAccessMode = false;
});

Map<String, dynamic> fileSelection = {'files': {}};
Expand Down

0 comments on commit e1f142f

Please sign in to comment.