diff --git a/pump/combov2/comboctl/src/commonMain/kotlin/info/nightscout/comboctl/main/RTNavigation.kt b/pump/combov2/comboctl/src/commonMain/kotlin/info/nightscout/comboctl/main/RTNavigation.kt index 1789e916d1..4e1606dda1 100644 --- a/pump/combov2/comboctl/src/commonMain/kotlin/info/nightscout/comboctl/main/RTNavigation.kt +++ b/pump/combov2/comboctl/src/commonMain/kotlin/info/nightscout/comboctl/main/RTNavigation.kt @@ -1004,7 +1004,9 @@ suspend fun navigateToRTScreen( // when remaining TBR duration is shown on the main screen and the // duration happens to change during this loop. If this occurs, // skip the redundant screen. - if ((previousScreenType != null) && (previousScreenType == parsedScreen::class)) { + if ((parsedScreen::class != ParsedScreen.UnrecognizedScreen::class) && + (previousScreenType != null) && + (previousScreenType == parsedScreen::class)) { logger(LogLevel.DEBUG) { "Got a screen of the same type ${parsedScreen::class}; skipping" } continue }