AppActions

data class AppActions(val scope: CoroutineScope, val showChangelog: () -> Unit, val showProVersionDialog: () -> Unit, val showSettingsDialog: () -> Unit, snackbarHostState: StyledSnackbarHostState)

Constructors

Link copied to clipboard
constructor(scope: CoroutineScope, showChangelog: () -> Unit, showProVersionDialog: () -> Unit, showSettingsDialog: () -> Unit, snackbarHostState: StyledSnackbarHostState)

Properties

Link copied to clipboard
val scope: CoroutineScope
Link copied to clipboard
val showChangelog: () -> Unit
Link copied to clipboard
Link copied to clipboard

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)