mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	Change "Ok" Button to "Dismiss" and also change "Open Website" button to neutral button
This commit is contained in:
		| @@ -134,10 +134,10 @@ object LicenseFragmentHelper { | ||||
|                     alert.setTitle(component.license.name) | ||||
|                     alert.setView(webView) | ||||
|                     Localization.assureCorrectAppLanguage(context) | ||||
|                     alert.setNegativeButton( | ||||
|                         context.getString(R.string.finish) | ||||
|                     alert.setPositiveButton( | ||||
|                         "DISMISS" | ||||
|                     ) { dialog, _ -> dialog.dismiss() } | ||||
|                     alert.setPositiveButton("Open website") { _, _ -> | ||||
|                     alert.setNeutralButton("Open website") { _, _ -> | ||||
|                         ShareUtils.openUrlInBrowser(context, component.link) | ||||
|                     } | ||||
|                     alert.show() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Peyman-hme
					Peyman-hme