Merge pull request #2883 from nextcloud/bugfix/noid/avoidNpeProfileControllerOnError

Avoid NPE in deleteAvatar#onError
This commit is contained in:
Marcel Hibbe 2023-03-23 13:16:38 +01:00 committed by GitHub
commit 1ed7a4c8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,7 +222,7 @@ class ProfileController : BaseController(R.layout.controller_profile) {
}
override fun onError(e: Throwable) {
Toast.makeText(applicationContext, "Error", Toast.LENGTH_LONG).show()
Log.e(TAG, "Failed to delete avatar", e)
}
override fun onComplete() {