From 4c4730a6e82eb5e4183cbf140854c51b3944d995 Mon Sep 17 00:00:00 2001 From: andresmr Date: Fri, 23 Feb 2024 08:32:15 +0100 Subject: [PATCH] [ANDROAPP-5800] fix code smell --- .../org/dhis2/usescases/searchTrackEntity/SearchTEActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.java b/app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.java index 3e370828e3..afa003d269 100644 --- a/app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.java +++ b/app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.java @@ -176,7 +176,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { if (OrientationUtilsKt.isLandscape()) { viewModel.getFiltersOpened().observe(this, isOpened -> { - if (isOpened) { + if (Boolean.TRUE.equals(isOpened)) { ViewExtensionsKt.clipWithRoundedCorners(binding.mainComponent, ExtensionsKt.getDp(16)); } else { ViewExtensionsKt.clipWithTopRightRoundedCorner(binding.mainComponent, ExtensionsKt.getDp(16));