From 5dcb5c6daf84f8998d89652fddda1acbbeb73375 Mon Sep 17 00:00:00 2001 From: Pablo Date: Wed, 26 Jun 2024 11:50:35 +0200 Subject: [PATCH] fix: [ANDROAPP-6225] Org. Unit dialog crashes on device rotation Signed-off-by: Pablo --- .../java/org/dhis2/commons/orgunitselector/OUTreeFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons/src/main/java/org/dhis2/commons/orgunitselector/OUTreeFragment.kt b/commons/src/main/java/org/dhis2/commons/orgunitselector/OUTreeFragment.kt index c05ca9e684..9d512f9117 100644 --- a/commons/src/main/java/org/dhis2/commons/orgunitselector/OUTreeFragment.kt +++ b/commons/src/main/java/org/dhis2/commons/orgunitselector/OUTreeFragment.kt @@ -29,7 +29,7 @@ const val ARG_SINGLE_SELECTION = "OUTreeFragment.ARG_SINGLE_SELECTION" const val ARG_SCOPE = "OUTreeFragment.ARG_SCOPE" const val ARG_PRE_SELECTED_OU = "OUTreeFragment.ARG_PRE_SELECTED_OU" -class OUTreeFragment private constructor() : DialogFragment() { +class OUTreeFragment() : DialogFragment() { class Builder { private var showAsDialog = false