Package-level declarations
Types
Link copied to clipboard
Contrast level options matching ContrastLevel ordinal values.
Link copied to clipboard
Theme modes that match AppCompatDelegate constants for cross-platform use.
Functions
Link copied to clipboard
fun AppearanceSection(onShowLanguagePicker: () -> Unit, onShowThemePicker: () -> Unit, onShowContrastPicker: () -> Unit)
Section for app appearance settings like language, theme, and contrast.
Link copied to clipboard
Shared dialog for picking a contrast level. Used by both Android and Desktop settings screens.
Link copied to clipboard
fun ExpressiveSection(title: String, modifier: Modifier = Modifier, titleColor: Color = MaterialTheme.colorScheme.primary, content: @Composable ColumnScope.() -> Unit)
A styled section container for settings screens.
Link copied to clipboard
Link copied to clipboard
fun NotificationSection(messagesEnabled: Boolean, onToggleMessages: (Boolean) -> Unit, nodeEventsEnabled: Boolean, onToggleNodeEvents: (Boolean) -> Unit, lowBatteryEnabled: Boolean, onToggleLowBattery: (Boolean) -> Unit)
Notification settings section with in-app toggles. Primarily used on platforms without system notification channels.
Link copied to clipboard
fun PrivacySection(analyticsAvailable: Boolean, analyticsEnabled: Boolean, onToggleAnalytics: () -> Unit, provideLocation: Boolean, onToggleLocation: (Boolean) -> Unit, homoglyphEnabled: Boolean, onToggleHomoglyph: () -> Unit, startProvideLocation: () -> Unit, stopProvideLocation: () -> Unit)
Section managing privacy settings like analytics and location sharing.
Link copied to clipboard
Shared dialog for picking a theme option. Used by both Android and Desktop settings screens.