mirror of
https://github.com/dzeiocom/OpenHealth.git
synced 2025-04-23 19:32:11 +00:00
fix: Button not set in response to the permission request
This commit is contained in:
parent
888be8d068
commit
27ee9a78d1
@ -61,6 +61,7 @@ class BrowseFragment :
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (!hasPermission) {
|
if (!hasPermission) {
|
||||||
|
button = binding.steps
|
||||||
activityResult.launch(Manifest.permission.ACTIVITY_RECOGNITION)
|
activityResult.launch(Manifest.permission.ACTIVITY_RECOGNITION)
|
||||||
return@setOnClickListener
|
return@setOnClickListener
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user