File tree 2 files changed +3
-3
lines changed
permissions-compose/src/main/java/com/meticha/permissions_compose
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
10
10
env :
11
- VERSION_NAME : 0.0.1+3 # Update this value for each release
11
+ VERSION_NAME : 0.0.1+4 # Update this value for each release
12
12
13
13
jobs :
14
14
release :
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ class PermissionState(
186
186
/* *
187
187
* Checks if all required permissions are actually granted
188
188
*/
189
- internal fun allRequiredGranted (): Boolean {
189
+ fun allRequiredGranted (): Boolean {
190
190
isRequiredPermissionGranted = allPermissions
191
191
.filter { it.isRequired }
192
192
.all { isGranted(it.permission) }
@@ -196,7 +196,7 @@ class PermissionState(
196
196
/* *
197
197
* Checks if a specific permission is granted
198
198
*/
199
- private fun isGranted (permission : String ): Boolean {
199
+ fun isGranted (permission : String ): Boolean {
200
200
val context = requireNotNull(contextRef.get())
201
201
return context.checkSelfPermission(permission) == PackageManager .PERMISSION_GRANTED
202
202
}
You can’t perform that action at this time.
0 commit comments