CreationExtras must have a value by `SAVED_STATE_REGISTRY_OWNER_KEY`

@Dragan.T ‘s answer is correct.

Adding

implementation "androidx.navigation:navigation-compose:2.5.3

Solved my problem. As for why we need to add, I am not so sure.

Edit: Be sure to replace 2.5.3 with latest version.

Leave a Comment