Skip to content

Commit fe1ffe1

Browse files
authored
Remove unnecessary Parcelize annotations after Navigation3 migration (#47)
1 parent c93da3d commit fe1ffe1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • core/model/src/main/kotlin/com/skydoves/pokedex/compose/core/model

core/model/src/main/kotlin/com/skydoves/pokedex/compose/core/model/Pokemon.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,18 @@
1616

1717
package com.skydoves.pokedex.compose.core.model
1818

19-
import android.os.Parcelable
2019
import androidx.compose.runtime.Immutable
21-
import kotlinx.parcelize.Parcelize
2220
import kotlinx.serialization.SerialName
2321
import kotlinx.serialization.Serializable
2422

2523
@Immutable
26-
@Parcelize
2724
@Serializable
2825
data class Pokemon(
2926
var page: Int = 0,
3027
@SerialName(value = "name")
3128
val nameField: String,
3229
@SerialName(value = "url") val url: String,
33-
) : Parcelable {
30+
) {
3431

3532
val name: String
3633
get() = nameField.replaceFirstChar { it.uppercase() }

0 commit comments

Comments
 (0)