diff --git a/WordPress/src/main/java/org/wordpress/android/support/ZendeskUploadHelper.kt b/WordPress/src/main/java/org/wordpress/android/support/ZendeskUploadHelper.kt index cfa8bdadd0bb..d7b9c8ec49d7 100644 --- a/WordPress/src/main/java/org/wordpress/android/support/ZendeskUploadHelper.kt +++ b/WordPress/src/main/java/org/wordpress/android/support/ZendeskUploadHelper.kt @@ -45,14 +45,13 @@ class ZendeskUploadHelper @Inject constructor() { return } uploadProvider.deleteAttachment(token, object : ZendeskCallback() { - override fun onSuccess(result: Void?) { + override fun onSuccess(result: Void) { AppLog.i(T.SUPPORT, "Successfully deleted Zendesk attachment") } override fun onError(error: ErrorResponse?) { AppLog.e(T.SUPPORT, "Unable to delete Zendesk attachment") } - }) } } diff --git a/WordPress/src/main/java/org/wordpress/android/ui/main/feedbackform/FeedbackFormViewModel.kt b/WordPress/src/main/java/org/wordpress/android/ui/main/feedbackform/FeedbackFormViewModel.kt index b8f1b6c273d2..c77a35dc1118 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/main/feedbackform/FeedbackFormViewModel.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/main/feedbackform/FeedbackFormViewModel.kt @@ -263,7 +263,6 @@ class FeedbackFormViewModel @Inject constructor( callback = callback ) } - } companion object {