diff --git a/app/src/main/java/info/nightscout/androidaps/activities/fragments/TreatmentsProfileSwitchFragment.kt b/app/src/main/java/info/nightscout/androidaps/activities/fragments/TreatmentsProfileSwitchFragment.kt index 825c9828f9..7b48ff9684 100644 --- a/app/src/main/java/info/nightscout/androidaps/activities/fragments/TreatmentsProfileSwitchFragment.kt +++ b/app/src/main/java/info/nightscout/androidaps/activities/fragments/TreatmentsProfileSwitchFragment.kt @@ -244,7 +244,7 @@ class TreatmentsProfileSwitchFragment : DaggerFragment() { ProfileViewerDialog().also { pvd -> pvd.arguments = Bundle().also { args -> args.putLong("time", (it.tag as ProfileSealed).timestamp) - args.putInt("mode", ProfileViewerDialog.Mode.DB_PROFILE.ordinal) + args.putInt("mode", ProfileViewerDialog.Mode.RUNNING_PROFILE.ordinal) } pvd.show(childFragmentManager, "ProfileViewDialog") } @@ -253,7 +253,7 @@ class TreatmentsProfileSwitchFragment : DaggerFragment() { ProfileViewerDialog().also { pvd -> pvd.arguments = Bundle().also { args -> args.putLong("time", (it.tag as ProfileSealed).timestamp) - args.putInt("mode", ProfileViewerDialog.Mode.DB_PROFILE.ordinal) + args.putInt("mode", ProfileViewerDialog.Mode.RUNNING_PROFILE.ordinal) } pvd.show(childFragmentManager, "ProfileViewDialog") }