diff --git a/app/src/main/java/org/mozilla/fenix/utils/Undo.kt b/app/src/main/java/org/mozilla/fenix/utils/Undo.kt index eee83fff6..b21d1bf8e 100644 --- a/app/src/main/java/org/mozilla/fenix/utils/Undo.kt +++ b/app/src/main/java/org/mozilla/fenix/utils/Undo.kt @@ -25,7 +25,9 @@ internal const val UNDO_DELAY = 3000L * @param undoActionTitle Label for the action associated with the [FenixSnackbar]. * @param onCancel A suspend block to execute in case of cancellation. * @param operation A suspend block to execute if user doesn't cancel via the displayed [FenixSnackbar]. + * @param anchorView A view to anchor the undo [FenixSnackbar] to */ +@Suppress("LongParameterList") fun CoroutineScope.allowUndo( view: View, message: String,