Skip to content

Commit

Permalink
Change "Ok" Button to "Dismiss" and also change "Open Website" button…
Browse files Browse the repository at this point in the history
… to neutral button
  • Loading branch information
Peyman-hme authored and Stypox committed Jun 8, 2021
1 parent 3dc4ed1 commit e0c1ca1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e0c1ca1

Please sign in to comment.