Commit c4a62ea8 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Fix wrong indentation.

parent aa269d78
......@@ -50,16 +50,10 @@ class SignupPresenter @Inject constructor(private val view: SignupView,
view.showLoading()
try {
client.signup(
email,
name,
username,
password
) // TODO This function returns a user so should we save it?
client.login(
username,
password
) // TODO This function returns a user token so should we save it?
// TODO This function returns a user so should we save it?
client.signup(email, name, username, password)
// TODO This function returns a user token so should we save it?
client.login(username, password)
val me = client.me()
localRepository.save(LocalRepository.USERNAME_KEY, me.username)
registerPushToken()
......
......@@ -97,9 +97,7 @@ class ChatRoomPresenter @Inject constructor(private val view: ChatRoomView,
view.showMessage(it)
}.ifNull {
view.showGenericErrorMessage()
view.showGenericErrorMessage()
}
view.enableMessageInput()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment