Skip to content

Commit

Permalink
Merge pull request #885 from tchapgouv/884-a-la-creation-de-direct-me…
Browse files Browse the repository at this point in the history
…ssage-activer-automatiquement-le-clavier-a-lapparition-de-la-vue

Activation de la zone de saisie email à l'apparition de la vue de cré…
  • Loading branch information
NicolasBuquet authored Oct 5, 2023
2 parents 105f072 + db33205 commit b4d5879
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Riot/Modules/StartChat/StartChatViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions changelog.d/884.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Activation de la zone de saisie email à l'apparition de la vue de création de salon DM

0 comments on commit b4d5879

Please sign in to comment.