Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Change dialog to test recycle. (#5657)
Browse files Browse the repository at this point in the history
Co-authored-by: Mohamed <mohamed.metwalli@sap.com>
  • Loading branch information
SamuraiKek and mtwalli authored Oct 20, 2022
1 parent caa00ba commit 0542ff9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
}

Expand Down

0 comments on commit 0542ff9

Please sign in to comment.