Skip to content

Commit

Permalink
Fixes new static code analysis issue 🥲
Browse files Browse the repository at this point in the history
  • Loading branch information
yatiksihag01 committed Sep 19, 2023
1 parent 4cf2a2d commit c3e69cf
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class PreparePasteTask(strongRefMain: MainActivity) {
}
)
withContext(Dispatchers.Main) {
prepareDialog(conflictingFiles, conflictingDirActionMap, filesToCopy)
prepareDialog(conflictingFiles, filesToCopy)
@Suppress("DEPRECATION")
progressDialog?.setMessage(context.get()?.getString(R.string.copying))
}
Expand All @@ -198,7 +198,6 @@ class PreparePasteTask(strongRefMain: MainActivity) {

private suspend fun prepareDialog(
conflictingFiles: MutableList<HybridFileParcelable>,
conflictingDirActionMap: HashMap<HybridFileParcelable, String>,
filesToCopy: ArrayList<HybridFileParcelable>
) {
if (conflictingFiles.isEmpty()) return
Expand All @@ -223,7 +222,6 @@ class PreparePasteTask(strongRefMain: MainActivity) {
showDialog(
conflictingFiles,
filesToCopy,
conflictingDirActionMap,
copyDialogBinding,
dialogBuilder,
checkBox
Expand All @@ -233,7 +231,6 @@ class PreparePasteTask(strongRefMain: MainActivity) {
private suspend fun showDialog(
conflictingFiles: MutableList<HybridFileParcelable>,
filesToCopy: ArrayList<HybridFileParcelable>,
conflictingDirActionMap: HashMap<HybridFileParcelable, String>,
copyDialogBinding: CopyDialogBinding,
dialogBuilder: MaterialDialog.Builder,
checkBox: AppCompatCheckBox
Expand Down

0 comments on commit c3e69cf

Please sign in to comment.