Package-level declarations

Functions

Link copied to clipboard
fun BeaconStylePreference(beaconValues: List<String>, beaconDescriptions: List<String>, modifier: Modifier, textColor: Color, onPreviewStart: (String) -> Unit, onPreviewUpdate: (String) -> Unit, onPreviewStop: (Boolean, String?) -> Unit)

Beacon style preference with an inline audio preview.

Link copied to clipboard
fun ClickableOption(text: String, textColor: Color)
Link copied to clipboard
fun ExpandableSectionHeader(title: String, expanded: Boolean, onToggle: () -> Unit, textColor: Color)

A clickable header that expands/collapses a section

Link copied to clipboard
@Preview(fontScale = 2.0)
fun ListItemPreview()
Link copied to clipboard
fun ListPreferenceItem(description: String, value: Any, currentValue: Any, onClick: () -> Unit, index: Int, listSize: Int)

ListPreferenceItem is an attempt to make a more accessible list entry for the user.

Link copied to clipboard
fun SettingDetails(title: Int, description: Int, textColor: Color)
Link copied to clipboard
fun Settings(navController: NavHostController, uiState: SettingsViewModel.SettingsUiState, modifier: Modifier = Modifier, supportedLanguages: List<Language>, onLanguageSelected: (Language) -> Unit, selectedLanguageIndex: Int, storages: List<StorageUtils.StorageSpace>, onStorageSelected: (String) -> Unit, selectedStorageIndex: Int, resetSettings: () -> Unit, onBeaconPreviewStart: (String) -> Unit = {}, onBeaconPreviewUpdate: (String) -> Unit = {}, onBeaconPreviewStop: (Boolean, String?) -> Unit = { _, _ -> }, previewExpandedSection: String? = null)
Link copied to clipboard
fun SettingsPreview(expandedSection: String)