ConnectionsViewModel
class ConnectionsViewModel(radioConfigRepository: RadioConfigRepository, serviceRepository: ServiceRepository, nodeRepository: NodeRepository, uiPrefs: UiPrefs) : ViewModel(source)
Constructors
Link copied to clipboard
constructor(radioConfigRepository: RadioConfigRepository, serviceRepository: ServiceRepository, nodeRepository: NodeRepository, uiPrefs: UiPrefs)
Properties
Link copied to clipboard
Link copied to clipboard
Single source of truth for the UI's "connection status" pill/banner. Derived from connectionState and regionUnset; kept here rather than in the composable so the mapping is observable and testable.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Filtered ourNodeInfo that only emits when display-relevant fields change, preventing continuous recomposition from lastHeard/snr updates.
Link copied to clipboard
Link copied to clipboard
Whether the LoRa region is UNSET and needs to be configured.