fix reblog avatar (#2197)
This commit is contained in:
parent
1fb3e9edd7
commit
f04a2a1ee4
1 changed files with 5 additions and 1 deletions
|
@ -60,7 +60,11 @@ sealed class StatusViewData private constructor() {
|
||||||
get() = status.actionableStatus
|
get() = status.actionableStatus
|
||||||
|
|
||||||
val rebloggedAvatar: String?
|
val rebloggedAvatar: String?
|
||||||
get() = status.reblog?.account?.avatar
|
get() = if (status.reblog != null) {
|
||||||
|
status.account.avatar
|
||||||
|
} else {
|
||||||
|
null
|
||||||
|
}
|
||||||
|
|
||||||
val rebloggingStatus: Status?
|
val rebloggingStatus: Status?
|
||||||
get() = if (status.reblog != null) status else null
|
get() = if (status.reblog != null) status else null
|
||||||
|
|
Loading…
Reference in a new issue