fix reblog avatar (#2197)

This commit is contained in:
Konrad Pozniak 2021-06-14 10:22:08 +02:00 committed by GitHub
parent 1fb3e9edd7
commit f04a2a1ee4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,11 @@ sealed class StatusViewData private constructor() {
get() = status.actionableStatus
val rebloggedAvatar: String?
get() = status.reblog?.account?.avatar
get() = if (status.reblog != null) {
status.account.avatar
} else {
null
}
val rebloggingStatus: Status?
get() = if (status.reblog != null) status else null