Skip to content

Commit

Permalink
Fix Auto-capitalization and Keyboard type for Room creation Title Fie…
Browse files Browse the repository at this point in the history
…ld (#621)
  • Loading branch information
Philippe Loriaux committed Jul 18, 2022
1 parent f7a6940 commit 4914c06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tchap/Modules/RoomCreation/RoomCreationViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ final class RoomCreationViewModel: RoomCreationViewModelType {

var roomNameTextInputProperties = TextInputProperties()
roomNameTextInputProperties.returnKeyType = .done
roomNameTextInputProperties.keyboardType = .default
roomNameTextInputProperties.autocapitalization = .sentences

roomNameFormTextViewModel.textInputProperties = roomNameTextInputProperties

Expand Down
1 change: 1 addition & 0 deletions changelog.d/621.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix Auto-capitalization and Keyboard type for Room creation Title Field

0 comments on commit 4914c06

Please sign in to comment.