mirror of
https://github.com/bitwarden/android.git
synced 2025-02-16 11:59:57 +03:00
PM-14458: Fix notifications prompt on first use (#4274)
This commit is contained in:
parent
4fb67825d3
commit
966a521e0b
2 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ fun PendingRequestsScreen(
|
|||
isFdroid ||
|
||||
isBuildVersionBelow(Build.VERSION_CODES.TIRAMISU) ||
|
||||
permissionsManager.checkPermission(Manifest.permission.POST_NOTIFICATIONS) ||
|
||||
!permissionsManager.shouldShowRequestPermissionRationale(
|
||||
permissionsManager.shouldShowRequestPermissionRationale(
|
||||
permission = Manifest.permission.POST_NOTIFICATIONS,
|
||||
)
|
||||
BitwardenModalBottomSheet(
|
||||
|
|
|
@ -46,7 +46,7 @@ class PendingRequestsScreenTest : BaseComposeTest() {
|
|||
}
|
||||
private val permissionsManager = FakePermissionManager().apply {
|
||||
checkPermissionResult = false
|
||||
shouldShowRequestRationale = true
|
||||
shouldShowRequestRationale = false
|
||||
}
|
||||
|
||||
@Before
|
||||
|
|
Loading…
Add table
Reference in a new issue