From f2662d5c3df72b7bb40d12ecb59430507cd57f08 Mon Sep 17 00:00:00 2001 From: Pablo Date: Thu, 4 Jul 2024 14:01:34 +0200 Subject: [PATCH] fix: [ANDROAPP-6285] 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 63bf190731..4536537ad5 100644 --- a/commons/src/main/java/org/dhis2/commons/orgunitselector/OUTreeFragment.kt +++ b/commons/src/main/java/org/dhis2/commons/orgunitselector/OUTreeFragment.kt @@ -27,7 +27,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