mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-01 20:22:03 +00:00
Merge pull request #2883 from nextcloud/bugfix/noid/avoidNpeProfileControllerOnError
Avoid NPE in deleteAvatar#onError
This commit is contained in:
commit
1ed7a4c8c2
@ -222,7 +222,7 @@ class ProfileController : BaseController(R.layout.controller_profile) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onError(e: Throwable) {
|
override fun onError(e: Throwable) {
|
||||||
Toast.makeText(applicationContext, "Error", Toast.LENGTH_LONG).show()
|
Log.e(TAG, "Failed to delete avatar", e)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onComplete() {
|
override fun onComplete() {
|
||||||
|
Loading…
Reference in New Issue
Block a user