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:
parent
1fb3e9edd7
commit
f04a2a1ee4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user