Fix crash when updating profile and the source field exists, but some of _its_ fields don't (#2243)

This commit is contained in:
Levi Bard 2021-09-17 21:51:00 +02:00 committed by GitHub
parent 821411b0eb
commit d93a9b5753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -79,9 +79,9 @@ data class Account(
}
data class AccountSource(
val privacy: Status.Visibility,
val sensitive: Boolean,
val note: String,
val privacy: Status.Visibility?,
val sensitive: Boolean?,
val note: String?,
val fields: List<StringField>?
)