Package-level declarations

Types

Link copied to clipboard
data class NodeListSettingsState(val density: NodeListDensity = NodeListDensity.COMPLETE, val showPower: Boolean = false, val showLastHeard: Boolean = false, val lastHeardIsRelative: Boolean = false, val showLocation: Boolean = false, val showHops: Boolean = false, val showSignal: Boolean = false, val showChannel: Boolean = false, val showRole: Boolean = false, val showTelemetry: Boolean = false)

Aggregated state for node list display settings to reduce recomposition overhead.

Link copied to clipboard
class SettingsViewModel(radioConfigRepository: RadioConfigRepository, radioController: RadioController, nodeRepository: NodeRepository, uiPrefs: UiPrefs, buildConfigProvider: BuildConfigProvider, databaseManager: DatabaseManager, meshLogPrefs: MeshLogPrefs, notificationPrefs: NotificationPrefs, setThemeUseCase: SetThemeUseCase, setLocaleUseCase: SetLocaleUseCase, setAppIntroCompletedUseCase: SetAppIntroCompletedUseCase, setProvideLocationUseCase: SetProvideLocationUseCase, setDatabaseCacheLimitUseCase: SetDatabaseCacheLimitUseCase, setMeshLogSettingsUseCase: SetMeshLogSettingsUseCase, setNotificationSettingsUseCase: SetNotificationSettingsUseCase, meshLocationUseCase: MeshLocationUseCase, exportDataUseCase: ExportDataUseCase, isOtaCapableUseCase: IsOtaCapableUseCase, fileService: FileService) : ViewModel

Functions

Link copied to clipboard
fun AboutScreen(onNavigateUp: () -> Unit, jsonProvider: suspend () -> String)

Shared About/Acknowledgements screen using the multiplatform LibrariesContainer composable and produceLibraries from the AboutLibraries KMP library.

Link copied to clipboard
Link copied to clipboard
fun DesktopSettingsScreen(radioConfigViewModel: RadioConfigViewModel, settingsViewModel: SettingsViewModel, onNavigate: (Route) -> Unit)

Desktop-specific top-level settings screen. Replaces the Android SettingsScreen which uses Android-specific APIs (Activity, permissions, etc.).

Link copied to clipboard
fun DeviceConfigurationScreen(viewModel: RadioConfigViewModel, onBack: () -> Unit, onNavigate: (Route) -> Unit)
Link copied to clipboard
fun ModuleConfigurationScreen(viewModel: RadioConfigViewModel, excludedModulesUnlocked: Boolean, onBack: () -> Unit, onNavigate: (Route) -> Unit)
Link copied to clipboard
fun NodeListScreen(settingsViewModel: SettingsViewModel, onNavigateUp: () -> Unit, modifier: Modifier = Modifier)

Dedicated settings screen for node list display options (density and field visibility). Provides a focused interface for customizing how nodes are rendered in the list view.

Link copied to clipboard
fun SettingsScreen(settingsViewModel: SettingsViewModel, viewModel: RadioConfigViewModel, onClickNodeChip: (Int) -> Unit = {}, onNavigate: (Route) -> Unit = {}, onBack: () -> Unit? = null)