1
0
mirror of https://github.com/dzeiocom/OpenHealth.git synced 2025-04-23 03:12:14 +00:00

fix: Button not set in response to the permission request

This commit is contained in:
Florian Bouillon 2022-07-19 17:39:35 +02:00
parent 888be8d068
commit 27ee9a78d1

View File

@ -61,6 +61,7 @@ class BrowseFragment :
)
if (!hasPermission) {
button = binding.steps
activityResult.launch(Manifest.permission.ACTIVITY_RECOGNITION)
return@setOnClickListener
}