feat(datadog): datadog init tweaks (#2613)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2025-08-02 07:50:44 -05:00 committed by GitHub
parent e35b8cdaab
commit 4b182be500
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 88 additions and 60 deletions

View file

@ -79,7 +79,6 @@ import androidx.lifecycle.compose.collectAsStateWithLifecycle
import com.geeksville.mesh.ConfigProtos
import com.geeksville.mesh.R
import com.geeksville.mesh.android.BuildUtils.debug
import com.geeksville.mesh.android.BuildUtils.info
import com.geeksville.mesh.android.BuildUtils.reportError
import com.geeksville.mesh.android.GeeksvilleApplication
import com.geeksville.mesh.android.gpsDisabled
@ -440,7 +439,7 @@ fun ConnectionsScreen(
// Analytics Okay Checkbox
val isGooglePlayAvailable = app.isGooglePlayAvailable()
val isGooglePlayAvailable = context.isGooglePlayAvailable
val isAnalyticsAllowed = app.isAnalyticsAllowed && isGooglePlayAvailable
if (isGooglePlayAvailable) {
var loading by remember { mutableStateOf(false) }