From 0542ff9500bf1cc8b6235bfafb2e1cb87517c8de Mon Sep 17 00:00:00 2001 From: Alex Paulescu Date: Thu, 20 Oct 2022 17:04:14 +0300 Subject: [PATCH] Change dialog to test recycle. (#5657) Co-authored-by: Mohamed --- .../java/de/rki/coronawarnapp/ui/main/home/HomeFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/main/home/HomeFragment.kt b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/main/home/HomeFragment.kt index 5ad1c5717cb..2b1d5c8fab5 100644 --- a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/main/home/HomeFragment.kt +++ b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/main/home/HomeFragment.kt @@ -19,7 +19,7 @@ import de.rki.coronawarnapp.R import de.rki.coronawarnapp.bugreporting.ui.toErrorDialogBuilder import de.rki.coronawarnapp.coronatest.type.BaseCoronaTest import de.rki.coronawarnapp.databinding.HomeFragmentLayoutBinding -import de.rki.coronawarnapp.reyclebin.ui.dialog.recycleCertificateDialog +import de.rki.coronawarnapp.reyclebin.ui.dialog.recycleTestDialog import de.rki.coronawarnapp.tag import de.rki.coronawarnapp.ui.dialog.displayDialog import de.rki.coronawarnapp.util.CWADebug @@ -232,7 +232,7 @@ class HomeFragment : Fragment(R.layout.home_fragment_layout), AutoInject { ) HomeFragmentEvents.OpenFAQUrl -> openUrl(getString(R.string.main_about_link)) - is HomeFragmentEvents.ShowDeleteTestDialog -> recycleCertificateDialog { + is HomeFragmentEvents.ShowDeleteTestDialog -> recycleTestDialog { viewModel.moveTestToRecycleBinStorage(event.identifier) }