Skip to content

Commit

Permalink
Allow location picking when location service & permissions are alread…
Browse files Browse the repository at this point in the history
…y on
  • Loading branch information
qiarie committed Feb 9, 2024
1 parent c59f335 commit 8431a58
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ class QuestionnaireActivity : BaseMultiLanguageActivity() {
if (!hasLocationPermissions()) {
launchLocationPermissionsDialog()
}

if (LocationUtils.isLocationEnabled(this) && hasLocationPermissions()) {
fetchLocation(true)
}
}
}

Expand Down

0 comments on commit 8431a58

Please sign in to comment.