mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Add chat search key shortcut
This commit is contained in:
parent
2268c28527
commit
46fd026a2c
@ -8913,6 +8913,11 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
|
|||||||
}.updatedInputMode({ _ in ChatInputMode.media(mode: .other, expanded: nil) })
|
}.updatedInputMode({ _ in ChatInputMode.media(mode: .other, expanded: nil) })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}),
|
||||||
|
KeyShortcut(input: "F", modifiers: [.command], action: { [weak self] in
|
||||||
|
if let strongSelf = self {
|
||||||
|
strongSelf.beginMessageSearch("")
|
||||||
|
}
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user