mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Record and send voice messages (#1596)
--------- Co-authored-by: ElementBot <benoitm+elementbot@element.io>
This commit is contained in:
+3
-2
@@ -31,10 +31,11 @@ open class PermissionsStateProvider : PreviewParameterProvider<PermissionsState>
|
||||
|
||||
fun aPermissionsState(
|
||||
showDialog: Boolean,
|
||||
permission: String = Manifest.permission.POST_NOTIFICATIONS
|
||||
permission: String = Manifest.permission.POST_NOTIFICATIONS,
|
||||
permissionGranted: Boolean = false,
|
||||
) = PermissionsState(
|
||||
permission = permission,
|
||||
permissionGranted = false,
|
||||
permissionGranted = permissionGranted,
|
||||
shouldShowRationale = false,
|
||||
showDialog = showDialog,
|
||||
permissionAlreadyAsked = false,
|
||||
|
||||
Reference in New Issue
Block a user