@@ -67,7 +67,6 @@ import kotlinx.serialization.Serializable
6767import org.jetbrains.compose.resources.painterResource
6868import site.remlit.snowdrop.component.AppTheme
6969import site.remlit.snowdrop.component.Avatar
70- import site.remlit.snowdrop.model.ui.Destination
7170import site.remlit.snowdrop.util.ExternalUriHandler
7271import site.remlit.snowdrop.util.LocalNavController
7372import site.remlit.snowdrop.util.SnackbarController
@@ -107,40 +106,40 @@ import kotlin.time.Duration.Companion.milliseconds
107106
108107
109108@Serializable
110- object StartRoute : Destination( 0 )
109+ object StartRoute
111110@Serializable
112- object LoginRoute : Destination( 1 )
111+ object LoginRoute
113112@Serializable
114- object TimelineRoute : Destination( 2 )
113+ object TimelineRoute
115114@Serializable
116- object NotificationsRoute : Destination( 3 )
115+ object NotificationsRoute
117116@Serializable
118- object ExploreRoute : Destination( 4 )
117+ object ExploreRoute
119118@Serializable
120- object MyProfileRoute : Destination( 5 )
119+ object MyProfileRoute
121120@Serializable
122- data class ProfileRoute (val id : String ) : Destination( 6 )
121+ data class ProfileRoute (val id : String )
123122@Serializable
124- data class ThreadRoute (val id : String ) : Destination( 7 )
123+ data class ThreadRoute (val id : String )
125124@Serializable
126125data class StatusInteractionDetailRoute (
127126 val id : String ,
128127 val type : InteractionViewType
129- ) : Destination( 9 )
128+ )
130129@Serializable
131130data class ComposeRoute (
132131 val inReplyToId : String? = null ,
133132 val cw : String = " " ,
134133 val content : String = " "
135- ) : Destination( 10 )
134+ )
136135
137136@Serializable
138- object SettingsRoute : Destination( 100 )
137+ object SettingsRoute
139138
140139@Serializable
141- object DebugRoute : Destination( 1000 )
140+ object DebugRoute
142141@Serializable
143- data class DebugStorageRoute (val storage : Int ) : Destination( 1001 )
142+ data class DebugStorageRoute (val storage : Int )
144143
145144
146145@Composable
0 commit comments