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