mirror of
https://github.com/bitwarden/android.git
synced 2026-04-29 04:18:52 -05:00
BITAU-175 Remove lastSyncTime property from SharedAccountData (#4077)
This commit is contained in:
@@ -27,6 +27,5 @@ data class SharedAccountData(
|
||||
val email: String,
|
||||
val environmentLabel: String,
|
||||
val totpUris: List<String>,
|
||||
val lastSyncTime: Instant,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -44,10 +44,6 @@ internal data class SharedAccountDataJson(
|
||||
|
||||
@SerialName("totpUris")
|
||||
val totpUris: List<String>,
|
||||
|
||||
@SerialName("lastSyncTime")
|
||||
@Contextual
|
||||
val lastSyncTime: Instant,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -172,7 +172,6 @@ private fun SharedAccountData.toJsonModel() = SharedAccountDataJson(
|
||||
environmentLabel = account.environmentLabel,
|
||||
email = account.email,
|
||||
totpUris = account.totpUris,
|
||||
lastSyncTime = account.lastSyncTime
|
||||
)
|
||||
}
|
||||
)
|
||||
@@ -188,7 +187,6 @@ private fun SharedAccountDataJson.toDomainModel() = SharedAccountData(
|
||||
environmentLabel = account.environmentLabel,
|
||||
email = account.email,
|
||||
totpUris = account.totpUris,
|
||||
lastSyncTime = account.lastSyncTime
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user