mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-02 14:56:48 +01:00
fix: trim whitespaces at the end (or start) of email/username (#683)
This commit is contained in:
parent
11f7f3824f
commit
1cda702f05
@ -50,7 +50,7 @@ class LoginViewModel(
|
||||
}
|
||||
|
||||
private fun setUsername(value: String) {
|
||||
updateState { it.copy(username = value) }
|
||||
updateState { it.copy(username = value.trim()) }
|
||||
}
|
||||
|
||||
private fun setPassword(value: String) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user