diff --git a/app/src/main/java/com/geeksville/mesh/service/MeshService.kt b/app/src/main/java/com/geeksville/mesh/service/MeshService.kt index a43e76a4..4dbe7c07 100644 --- a/app/src/main/java/com/geeksville/mesh/service/MeshService.kt +++ b/app/src/main/java/com/geeksville/mesh/service/MeshService.kt @@ -1611,8 +1611,9 @@ class MeshService : Service(), Logging { if (deviceVersion < minDeviceVersion || appVersion < minAppVersion) { info("Device firmware or app is too old, faking config so firmware update can occur") - clearLocalConfig() - setLocalConfig(config { security = security.copy { isManaged = true } }) + setLocalConfig(config { + security = localConfig.security.copy { isManaged = true } + }) } onHasSettings() } diff --git a/app/src/main/java/com/geeksville/mesh/ui/NodeDetailsScreen.kt b/app/src/main/java/com/geeksville/mesh/ui/NodeDetailsScreen.kt index d980c6dd..a4256d99 100644 --- a/app/src/main/java/com/geeksville/mesh/ui/NodeDetailsScreen.kt +++ b/app/src/main/java/com/geeksville/mesh/ui/NodeDetailsScreen.kt @@ -165,7 +165,7 @@ private fun NodeDetailsItemList( NavCard( title = "Remote Administration", icon = Icons.Default.Settings, - enabled = !metricsState.isManaged || !node.user.isLicensed + enabled = !metricsState.isManaged ) { onNavigate("RadioConfig") }