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

View file

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