Merge pull request #1890 from Philoul/Fix/AutotuneCopyName
Fix Profile name in Autotune popup for Copy to local profile
This commit is contained in:
commit
b12f5ae967
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class AutotuneFragment : DaggerFragment() {
|
||||||
autotunePlugin.tunedProfile?.let { tunedProfile ->
|
autotunePlugin.tunedProfile?.let { tunedProfile ->
|
||||||
showConfirmation(requireContext(),
|
showConfirmation(requireContext(),
|
||||||
rh.gs(R.string.autotune_copy_localprofile_button),
|
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 {
|
Runnable {
|
||||||
localProfilePlugin.addProfile(localProfilePlugin.copyFrom(tunedProfile.getProfile(circadian), localName))
|
localProfilePlugin.addProfile(localProfilePlugin.copyFrom(tunedProfile.getProfile(circadian), localName))
|
||||||
rxBus.send(EventLocalProfileChanged())
|
rxBus.send(EventLocalProfileChanged())
|
||||||
|
|
Loading…
Reference in a new issue