Skip to content

Commit

Permalink
open changelog from about screen
Browse files Browse the repository at this point in the history
  • Loading branch information
sdex committed Oct 1, 2023
1 parent 5ddeb72 commit 3aa3a20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ class AboutActivity : BaseActivity() {
LicensesDialogFragment()
.show(supportFragmentManager, LicensesDialogFragment.TAG)
}

binding.version.setOnClickListener {
IntentUtils.openBrowser(this, AppUtils.CHANGELOG)
}
}

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class AppUtils {

public static final String REPOSITORY = "https://github.com/sdex/ActivityManager";
public static final String ISSUES_TRACKER = REPOSITORY + "/issues";
public static final String CHANGELOG = REPOSITORY + "/blob/master/CHANGELOG.md";

public static void openLink(Context context, String url) {
try {
Expand Down

0 comments on commit 3aa3a20

Please sign in to comment.