Allow opening apps on PlayStore if available

This commit is contained in:
Rahul Kumar Patel
2021-02-26 16:04:53 +05:30
parent aea94e19ae
commit 854833d483
3 changed files with 9 additions and 0 deletions

View File

@@ -204,6 +204,10 @@ class AppDetailsActivity : BaseDetailsActivity() {
open(DownloadActivity::class.java)
return true
}
R.id.action_playstore -> {
browse("${Constants.SHARE_URL}${app.packageName}")
return true
}
}
return super.onOptionsItemSelected(item)
}