mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Copy raw description on long tap (fixes #6557)
This commit is contained in:
		@@ -169,10 +169,12 @@ class MangaSummaryView @JvmOverloads constructor(
 | 
			
		||||
            minLines = DESC_MIN_LINES
 | 
			
		||||
 | 
			
		||||
            setOnLongClickListener {
 | 
			
		||||
                context.copyToClipboard(
 | 
			
		||||
                    context.getString(R.string.description),
 | 
			
		||||
                    text.toString()
 | 
			
		||||
                )
 | 
			
		||||
                description?.let {
 | 
			
		||||
                    context.copyToClipboard(
 | 
			
		||||
                        context.getString(R.string.description),
 | 
			
		||||
                        it.toString()
 | 
			
		||||
                    )
 | 
			
		||||
                }
 | 
			
		||||
                true
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user