mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	Linked Deprecation with Github Issue
This commit is contained in:
		
							parent
							
								
									d679b4f2c7
								
							
						
					
					
						commit
						3114713848
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -23,7 +23,8 @@ class FeedbackDialog( | ||||||
|     private val onFeedbackSubmitCallback: OnFeedbackSubmitCallback) : Dialog(context) { |     private val onFeedbackSubmitCallback: OnFeedbackSubmitCallback) : Dialog(context) { | ||||||
|     private var _binding: DialogFeedbackBinding? = null |     private var _binding: DialogFeedbackBinding? = null | ||||||
|     private val binding get() = _binding!! |     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") |     @Suppress("DEPRECATION") | ||||||
|     private var feedbackDestinationHtml: Spanned = Html.fromHtml( |     private var feedbackDestinationHtml: Spanned = Html.fromHtml( | ||||||
|         context.getString(R.string.feedback_destination_note)) |         context.getString(R.string.feedback_destination_note)) | ||||||
|  | @ -35,7 +36,8 @@ class FeedbackDialog( | ||||||
|         setContentView(binding.root) |         setContentView(binding.root) | ||||||
|         binding.feedbackDestination.text = feedbackDestinationHtml |         binding.feedbackDestination.text = feedbackDestinationHtml | ||||||
|         binding.feedbackDestination.movementMethod = LinkMovementMethod.getInstance() |         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") |         @Suppress("DEPRECATION") | ||||||
|         window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE) |         window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE) | ||||||
|         binding.btnSubmitFeedback.setOnClickListener { |         binding.btnSubmitFeedback.setOnClickListener { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Neel Doshi
						Neel Doshi