Skip to content

Commit

Permalink
smoother user login process (fixes #4875)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash-Codes committed Dec 13, 2024
1 parent 8a22788 commit 9e4ad3c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,15 +307,13 @@ class Service(private val context: Context) {
}) { error: Throwable ->
realm.close()
error.printStackTrace()
callback.onSuccess("Unable to connect to planet earth")
}
}
}
}

override fun onFailure(call: Call<JsonObject?>, t: Throwable) {
realm.close()
callback.onSuccess("Unable to connect to planet earth")
}
})
}
Expand Down

0 comments on commit 9e4ad3c

Please sign in to comment.