Web Search: recent search queries

Various Fixes
This commit is contained in:
Ilya Laktyushin
2018-12-11 23:38:59 +04:00
parent 241de58edd
commit d20523252f
141 changed files with 4365 additions and 1892 deletions

View File

@@ -412,7 +412,7 @@ public func channelBannedMemberController(account: Account, peerId: PeerId, memb
}
items.append(ActionSheetButtonItem(title: presentationData.strings.MessageTimer_Custom, color: .accent, action: { [weak actionSheet] in
actionSheet?.dismissAnimated()
presentControllerImpl?(PeerBanTimeoutController(theme: presentationData.theme, strings: presentationData.strings, currentValue: Int32(Date().timeIntervalSince1970), applyValue: { value in
presentControllerImpl?(PeerBanTimeoutController(account: account, currentValue: Int32(Date().timeIntervalSince1970), applyValue: { value in
applyValue(value)
}), nil)
}))