Fix Profile selected in ProfileDialog from Treatment
This commit is contained in:
parent
e14cdd7c2a
commit
331b0ad340
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue