mirror of
https://github.com/bitwarden/android.git
synced 2026-05-07 00:09:31 -05:00
Move parcelable annotation onto implementation classes (#709)
This commit is contained in:
committed by
Álison Fernandes
parent
75fbadb67b
commit
8baf88be47
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user