Package ru.surf.settings.ui.screens.settings

Functions

Preview
Link copied to clipboard
@Preview(uiMode = 16, device = "id:pixel_4")
@Preview(uiMode = 32, device = "id:Nexus 6")
@Composable
private fun Preview()
SettingsBody
Link copied to clipboard
@Composable
fun SettingsBody(loading: Boolean = false, onActions: (SettingsActions) -> Unit = {})

Body page SettingsScreen

SettingsItem
Link copied to clipboard
@Composable
fun SettingsItem(text: String, onClick: () -> Unit = {})

Item list for page SettingsBody

SettingsScreen
Link copied to clipboard
@Composable
fun SettingsScreen(viewModel: SettingsViewModel, onActions: (SettingsActions) -> Unit = {})

Base page fun for initialization

SettingsSwitch
Link copied to clipboard
@Composable
fun SettingsSwitch(text: String, checked: Boolean = false, onCheckedChange: (Boolean) -> Unit = {})

Item list for page SettingsBody