diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/platform/feature/settings/accountsecurity/pendingrequests/PendingRequestsScreen.kt b/app/src/main/java/com/x8bit/bitwarden/ui/platform/feature/settings/accountsecurity/pendingrequests/PendingRequestsScreen.kt index f38b56f25..9bea08324 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/platform/feature/settings/accountsecurity/pendingrequests/PendingRequestsScreen.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/platform/feature/settings/accountsecurity/pendingrequests/PendingRequestsScreen.kt @@ -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( diff --git a/app/src/test/java/com/x8bit/bitwarden/ui/platform/feature/settings/accountsecurity/pendingrequests/PendingRequestsScreenTest.kt b/app/src/test/java/com/x8bit/bitwarden/ui/platform/feature/settings/accountsecurity/pendingrequests/PendingRequestsScreenTest.kt index 2311cc0b2..df33a0c95 100644 --- a/app/src/test/java/com/x8bit/bitwarden/ui/platform/feature/settings/accountsecurity/pendingrequests/PendingRequestsScreenTest.kt +++ b/app/src/test/java/com/x8bit/bitwarden/ui/platform/feature/settings/accountsecurity/pendingrequests/PendingRequestsScreenTest.kt @@ -46,7 +46,7 @@ class PendingRequestsScreenTest : BaseComposeTest() { } private val permissionsManager = FakePermissionManager().apply { checkPermissionResult = false - shouldShowRequestRationale = true + shouldShowRequestRationale = false } @Before