Skip to content

Commit

Permalink
PM-14458: Fix notifications prompt on first use (#4275)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-livefront authored Nov 8, 2024
1 parent 49642f5 commit 63324fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class PendingRequestsScreenTest : BaseComposeTest() {
}
private val permissionsManager = FakePermissionManager().apply {
checkPermissionResult = false
shouldShowRequestRationale = true
shouldShowRequestRationale = false
}

@Before
Expand Down

0 comments on commit 63324fc

Please sign in to comment.