Do not show "Pin" in "more" menu of direct status. (#909)
This commit is contained in:
parent
d8d37bacd9
commit
026292122d
2 changed files with 20 additions and 10 deletions
|
@ -102,6 +102,10 @@ data class Status(
|
|||
return (visibility != Visibility.DIRECT && visibility != Visibility.UNKNOWN)
|
||||
}
|
||||
|
||||
fun isPinned(): Boolean {
|
||||
return pinned ?: false
|
||||
}
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
if (this === other) return true
|
||||
if (other == null || javaClass != other.javaClass) return false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue