diff --git a/app/src/main/java/fr/free/nrw/commons/feedback/FeedbackDialog.kt b/app/src/main/java/fr/free/nrw/commons/feedback/FeedbackDialog.kt index 7f03f4cef9..e0977c3d9f 100644 --- a/app/src/main/java/fr/free/nrw/commons/feedback/FeedbackDialog.kt +++ b/app/src/main/java/fr/free/nrw/commons/feedback/FeedbackDialog.kt @@ -23,7 +23,8 @@ class FeedbackDialog( private val onFeedbackSubmitCallback: OnFeedbackSubmitCallback) : Dialog(context) { private var _binding: DialogFeedbackBinding? = null private val binding get() = _binding!! - // TODO("Remove Deprecation") //'fromHtml(String!): Spanned!' is deprecated. Deprecated in Java + // TODO("Remove Deprecation") Issue : #6002 + // 'fromHtml(String!): Spanned!' is deprecated. Deprecated in Java @Suppress("DEPRECATION") private var feedbackDestinationHtml: Spanned = Html.fromHtml( context.getString(R.string.feedback_destination_note)) @@ -35,7 +36,8 @@ class FeedbackDialog( setContentView(binding.root) binding.feedbackDestination.text = feedbackDestinationHtml binding.feedbackDestination.movementMethod = LinkMovementMethod.getInstance() - // TODO("DEPRECATION") // 'SOFT_INPUT_ADJUST_RESIZE: Int' is deprecated. Deprecated in Java + // TODO("DEPRECATION") Issue : #6002 + // 'SOFT_INPUT_ADJUST_RESIZE: Int' is deprecated. Deprecated in Java @Suppress("DEPRECATION") window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE) binding.btnSubmitFeedback.setOnClickListener {