From db3320509c0984a75fd1dd9cdbae5d9238f00e8a Mon Sep 17 00:00:00 2001 From: Nicolas Buquet Date: Tue, 3 Oct 2023 17:05:29 +0200 Subject: [PATCH] =?UTF-8?q?Activation=20de=20la=20zone=20de=20saisie=20ema?= =?UTF-8?q?il=20=C3=A0=20l'apparition=20de=20la=20vue=20de=20cr=C3=A9ation?= =?UTF-8?q?=20de=20salon=20DM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Riot/Modules/StartChat/StartChatViewController.m | 7 +++++++ changelog.d/884.feature | 1 + 2 files changed, 8 insertions(+) create mode 100644 changelog.d/884.feature diff --git a/Riot/Modules/StartChat/StartChatViewController.m b/Riot/Modules/StartChat/StartChatViewController.m index 80ca65221..fc5467ebd 100644 --- a/Riot/Modules/StartChat/StartChatViewController.m +++ b/Riot/Modules/StartChat/StartChatViewController.m @@ -257,6 +257,13 @@ - (void)viewDidLayoutSubviews [self.contactsTableView vc_relayoutHeaderView]; } +// Tchap: automatically give focus to searchBar field to invoke keyboard when view did appear. +- (void)viewDidAppear:(BOOL)animated { + [super viewDidAppear:animated]; + + [_searchBarView becomeFirstResponder]; +} + #pragma mark - - (void)setIsAddParticipantSearchBarEditing:(BOOL)isAddParticipantSearchBarEditing diff --git a/changelog.d/884.feature b/changelog.d/884.feature new file mode 100644 index 000000000..35507c3a2 --- /dev/null +++ b/changelog.d/884.feature @@ -0,0 +1 @@ +Activation de la zone de saisie email à l'apparition de la vue de création de salon DM \ No newline at end of file