mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat(analytics): expand DataDog RUM integration and align with iOS parity (#4970)
This commit is contained in:
parent
e249461e3c
commit
0167063497
10 changed files with 109 additions and 34 deletions
|
|
@ -211,7 +211,7 @@ fun SettingsScreen(
|
|||
if (state.isLocal) {
|
||||
PrivacySection(
|
||||
analyticsAvailable = state.analyticsAvailable,
|
||||
analyticsEnabled = viewModel.analyticsAllowedFlow.collectAsStateWithLifecycle(false).value,
|
||||
analyticsEnabled = viewModel.analyticsAllowedFlow.collectAsStateWithLifecycle(true).value,
|
||||
onToggleAnalytics = { viewModel.toggleAnalyticsAllowed() },
|
||||
provideLocation = settingsViewModel.provideLocation.collectAsStateWithLifecycle().value,
|
||||
onToggleLocation = { settingsViewModel.setProvideLocation(it) },
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ data class RadioConfigState(
|
|||
val fileManifest: List<FileInfo> = emptyList(),
|
||||
val responseState: ResponseState<Boolean> = ResponseState.Empty,
|
||||
val analyticsAvailable: Boolean = true,
|
||||
val analyticsEnabled: Boolean = false,
|
||||
val analyticsEnabled: Boolean = true,
|
||||
val nodeDbResetPreserveFavorites: Boolean = false,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue