update permissions

This commit is contained in:
andrekir 2022-01-25 15:59:45 -03:00
parent d9e1f17418
commit 8aa2f546b0
3 changed files with 12 additions and 13 deletions

View file

@ -41,7 +41,7 @@ fun Context.getCameraPermissions(): List<String> {
fun Context.hasCameraPermission() = getCameraPermissions().isEmpty()
/**
* Camera permission (or empty if we already have what we need)
* Location permission (or empty if we already have what we need)
*/
fun Context.getLocationPermissions(): List<String> {
val perms = mutableListOf(Manifest.permission.ACCESS_FINE_LOCATION)