AppActions
data class AppActions(val scope: CoroutineScope, val showChangelog: () -> Unit, val showProVersionDialog: () -> Unit, val showSettingsDialog: () -> Unit, snackbarHostState: StyledSnackbarHostState)
Functions
Link copied to clipboard
fun showSnackbar(info: String, actionLabel: String? = null, cancelAllPending: Boolean = true, duration: StyledSnackbarDuration = StyledSnackbarDuration.Short, scope: CoroutineScope = this.scope, onResult: (StyledSnackbarResult) -> Unit = {})
Link copied to clipboard
fun showToast(info: String, duration: ToastDuration = ToastDuration.Short, scope: CoroutineScope = this.scope)