Fix crash when opening more options for status in instance public timeline
This commit is contained in:
parent
cd78287a87
commit
40863ef130
|
@ -210,7 +210,7 @@ extension TuskerNavigationDelegate where Self: UIViewController {
|
|||
let bookmarked = status.bookmarked ?? false
|
||||
customActivites.insert(bookmarked ? UnbookmarkStatusActivity() : BookmarkStatusActivity(), at: 0)
|
||||
|
||||
if status.account.id == apiController.account.id {
|
||||
if apiController.account != nil, status.account.id == apiController.account.id {
|
||||
let pinned = status.pinned ?? false
|
||||
customActivites.insert(pinned ? UnpinStatusActivity() : PinStatusActivity(), at: 1)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue