TheMrCodes
03/09/2021, 9:22 PMjim
03/09/2021, 11:54 PMTheMrCodes
03/10/2021, 8:03 AMexitScreens[currentScreen]
always returns null so die condition should always be false and the statement to change screen should never been executed... but it does.
It also shows visually but i choose the debugger because you can see the wrong execution easier.
And the min Repo is just a copy of a few file from my project containing this bug. Excect file https://www.github.com/TheMrCodes/ComposeIfStatementBug/tree/master/src%2Fmain%2Fkotlin%2Fsystem%2Fnav%2FNavigator.ktYan Pujante
03/10/2021, 2:06 PMTheMrCodes
03/10/2021, 2:11 PM