From 4ff5b1fa264cc429a578a5bf25ee38388db26b47 Mon Sep 17 00:00:00 2001 From: Don Turner Date: Wed, 4 Sep 2024 20:54:58 +0100 Subject: [PATCH] Fix failing InterestsListDetailScreenTest Change-Id: Ib6e47d9a9cced4c967756f95a5c98587628bd2cb --- .../feature/interests/navigation/InterestsNavigation.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/interests/src/main/kotlin/com/google/samples/apps/nowinandroid/feature/interests/navigation/InterestsNavigation.kt b/feature/interests/src/main/kotlin/com/google/samples/apps/nowinandroid/feature/interests/navigation/InterestsNavigation.kt index be06333b5..d83e4a9b2 100644 --- a/feature/interests/src/main/kotlin/com/google/samples/apps/nowinandroid/feature/interests/navigation/InterestsNavigation.kt +++ b/feature/interests/src/main/kotlin/com/google/samples/apps/nowinandroid/feature/interests/navigation/InterestsNavigation.kt @@ -22,7 +22,7 @@ import kotlinx.serialization.Serializable @Serializable data class InterestsRoute( // The ID of the topic which will be initially selected at this destination - val initialTopicId: String?, + val initialTopicId: String? = null, ) fun NavController.navigateToInterests(