Fix Double Time in Popup for profile name

This commit is contained in:
Philoul 2022-07-05 23:22:11 +02:00
parent 32ccd8583c
commit 9a26a86e23

View file

@ -126,7 +126,7 @@ class AutotuneFragment : DaggerFragment() {
autotunePlugin.tunedProfile?.let { tunedProfile ->
showConfirmation(requireContext(),
rh.gs(R.string.autotune_copy_localprofile_button),
rh.gs(R.string.autotune_copy_local_profile_message) + "\n" + localName + " " + dateUtil.dateAndTimeString(autotunePlugin.lastRun),
rh.gs(R.string.autotune_copy_local_profile_message) + "\n" + localName,
Runnable {
localProfilePlugin.addProfile(localProfilePlugin.copyFrom(tunedProfile.getProfile(circadian), localName))
rxBus.send(EventLocalProfileChanged())