pull/600/head
Sawyer Blatz 5 years ago
parent cbce90f644
commit b848e96b53

@ -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,

Loading…
Cancel
Save