mirror of
https://github.com/bitwarden/android.git
synced 2025-03-15 10:48:47 +03:00
Move parcelable annotation onto implementation classes (#709)
This commit is contained in:
parent
75fbadb67b
commit
8baf88be47
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,6 @@ import kotlinx.parcelize.Parcelize
|
|||
/**
|
||||
* A class to denote the type of icon being passed.
|
||||
*/
|
||||
@Parcelize
|
||||
sealed class IconData : Parcelable {
|
||||
|
||||
/**
|
||||
|
@ -14,6 +13,7 @@ sealed class IconData : Parcelable {
|
|||
*
|
||||
* @property iconRes the resource for the local icon.
|
||||
*/
|
||||
@Parcelize
|
||||
data class Local(
|
||||
val iconRes: Int,
|
||||
) : IconData()
|
||||
|
@ -24,6 +24,7 @@ sealed class IconData : Parcelable {
|
|||
* @property uri the link for the icon.
|
||||
* @property fallbackIconRes fallback resource if the image cannot be loaded.
|
||||
*/
|
||||
@Parcelize
|
||||
data class Network(
|
||||
val uri: String,
|
||||
val fallbackIconRes: Int,
|
||||
|
|
Loading…
Add table
Reference in a new issue