Skip to content

Commit

Permalink
Show warning line when deleting a file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mendhak committed Dec 20, 2021
1 parent 57d82c6 commit 502edc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ public boolean onPreferenceClick(Preference preference) {
chooser.setOnMultipleSelectListener(selectedFilePaths -> {
Dialogs.progress(getActivity(), getString(R.string.please_wait));
for(String filePath : selectedFilePaths){
LOG.debug(filePath);
File f = new File(filePath);
f.delete();
LOG.warn("Deleted file: " + f.getName());
}
Dialogs.hideProgress();
});
Expand Down

0 comments on commit 502edc4

Please sign in to comment.