Closed vairasza closed 2 years ago
using trim before checking the email input might lead to null pointer exception using trim after checking email pattern is not needed as the pattern matcher would throw an error -> completly removed trim
modified: app/src/main/java/com/example/unserhoersaal/viewmodel/LoginViewModel.java modified: app/src/main/java/com/example/unserhoersaal/viewmodel/RegistrationViewModel.java
using trim before checking the email input might lead to null pointer exception using trim after checking email pattern is not needed as the pattern matcher would throw an error -> completly removed trim
modified: app/src/main/java/com/example/unserhoersaal/viewmodel/LoginViewModel.java modified: app/src/main/java/com/example/unserhoersaal/viewmodel/RegistrationViewModel.java