[Temp] Add debug option for the upgraded entity input panel

This commit is contained in:
Ali
2022-06-24 02:47:05 +01:00
parent 5e285ffce3
commit 96a410fc14
5 changed files with 78 additions and 30 deletions

View File

@@ -12,7 +12,7 @@ func inputNodeForChatPresentationIntefaceState(_ chatPresentationInterfaceState:
}
switch chatPresentationInterfaceState.inputMode {
case .media:
if "".isEmpty {
if context.sharedContext.immediateExperimentalUISettings.inlineStickers {
if let currentNode = currentNode as? ChatEntityKeyboardInputNode {
return currentNode
} else if let inputMediaNode = inputMediaNode {