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));