kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Add Open website string resources
rodzic
e0c1ca1209
commit
6fc0d8fce4
|
@ -135,9 +135,9 @@ object LicenseFragmentHelper {
|
|||
alert.setView(webView)
|
||||
Localization.assureCorrectAppLanguage(context)
|
||||
alert.setPositiveButton(
|
||||
"DISMISS"
|
||||
R.string.dismiss
|
||||
) { dialog, _ -> dialog.dismiss() }
|
||||
alert.setNeutralButton("Open website") { _, _ ->
|
||||
alert.setNeutralButton(R.string.open_website_license) { _, _ ->
|
||||
ShareUtils.openUrlInBrowser(context, component.link)
|
||||
}
|
||||
alert.show()
|
||||
|
|
|
@ -732,4 +732,5 @@
|
|||
<string name="metadata_privacy_unlisted">Unlisted</string>
|
||||
<string name="metadata_privacy_private">Private</string>
|
||||
<string name="metadata_privacy_internal">Internal</string>
|
||||
<string name="open_website_license">Open Website</string>
|
||||
</resources>
|
Ładowanie…
Reference in New Issue