Skip to content

Commit

Permalink
Merge pull request #1596 from android/dt/fix-1595
Browse files Browse the repository at this point in the history
Fix #1595 navigation to topic detail screen causes crash
  • Loading branch information
dturner authored Sep 5, 2024
2 parents db65a6f + 7ed2b12 commit 9c61b64
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.google.samples.apps.nowinandroid.ui.interests2pane

import androidx.activity.compose.BackHandler
import androidx.annotation.Keep
import androidx.compose.material3.adaptive.ExperimentalMaterial3AdaptiveApi
import androidx.compose.material3.adaptive.WindowAdaptiveInfo
import androidx.compose.material3.adaptive.currentWindowAdaptiveInfo
Expand Down Expand Up @@ -53,6 +54,8 @@ import java.util.UUID

@Serializable internal object TopicPlaceholderRoute

// TODO: Remove @Keep when https://issuetracker.google.com/353898971 is fixed
@Keep
@Serializable internal object DetailPaneNavHostRoute

fun NavGraphBuilder.interestsListDetailScreen() {
Expand Down

0 comments on commit 9c61b64

Please sign in to comment.