Package-level declarations

Types

Link copied to clipboard
class SettingsViewModel(radioConfigRepository: RadioConfigRepository, radioController: RadioController, nodeRepository: NodeRepository, uiPrefs: UiPrefs, buildConfigProvider: BuildConfigProvider, databaseManager: DatabaseManager, meshLogPrefs: MeshLogPrefs, notificationPrefs: NotificationPrefs, setThemeUseCase: SetThemeUseCase, setContrastLevelUseCase: SetContrastLevelUseCase, 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 SettingsScreen(settingsViewModel: SettingsViewModel, viewModel: RadioConfigViewModel, onClickNodeChip: (Int) -> Unit = {}, onNavigate: (Route) -> Unit = {}, onBack: () -> Unit? = null)