1
0
mirror of https://github.com/accelforce/Yuito synced 2024-12-21 12:34:51 +01:00

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