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
fun AppInfoSection(appVersionName: String, excludedModulesUnlocked: Boolean, onUnlockExcludedModules: () -> Unit, onShowAppIntro: () -> Unit, onNavigateToAbout: () -> Unit)

Section displaying application information and related actions.

Link copied to clipboard
fun ContrastPickerDialog(onClickContrast: (Int) -> Unit, onDismiss: () -> Unit)

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
fun HomoglyphSetting(homoglyphEncodingEnabled: Boolean, onToggle: () -> Unit)
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 PersistenceSection(cacheLimit: Int, onSetCacheLimit: (Int) -> Unit, nodeShortName: String, onExportData: (Uri) -> Unit)

Section for settings related to data persistence and exports.

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
fun ThemePickerDialog(onClickTheme: (Int) -> Unit, onDismiss: () -> Unit)

Shared dialog for picking a theme option. Used by both Android and Desktop settings screens.