[PM-22998] Fix isBuildVersionAtLeast check (#5420)

This commit is contained in:
Patrick Honkonen authored and GitHub committed 2025-06-25 17:00:25 +00:00
1 parent ddc099f727
commit 9c1673f603
2 files changed
+2 -1

No files matched your search

@@ -130,6 +130,7 @@ class AutoFillViewModelTest : BaseViewModelTest() {
assertEquals(
DEFAULT_STATE.copy(
showInlineAutofillOption = true,
showPasskeyManagementRow = false,
),
viewModel.stateFlow.value,
)
@@ -14,4 +14,4 @@ import com.bitwarden.annotation.OmitFromCoverage
@ChecksSdkIntAtLeast(parameter = 0)
fun isBuildVersionAtLeast(
version: Int,
): Boolean = version >= Build.VERSION.SDK_INT
): Boolean = Build.VERSION.SDK_INT >= version