mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Remove leading separator
This commit is contained in:
@@ -1390,6 +1390,10 @@ func contextMenuForChatPresentationInterfaceState(chatPresentationInterfaceState
|
||||
}
|
||||
}
|
||||
|
||||
if !actions.isEmpty, case .separator = actions[0] {
|
||||
actions.removeFirst()
|
||||
}
|
||||
|
||||
return ContextController.Items(content: .list(actions), tip: nil)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user