Added profile name to the actual code (not just the string).
This commit is contained in:
parent
b6af7447e8
commit
2a1ddc956f
|
@ -300,7 +300,7 @@ class ProfileFragment : DaggerFragment() {
|
||||||
|
|
||||||
binding.profileRemove.setOnClickListener {
|
binding.profileRemove.setOnClickListener {
|
||||||
activity?.let { activity ->
|
activity?.let { activity ->
|
||||||
OKDialog.showConfirmation(activity, rh.gs(R.string.delete_current_profile), {
|
OKDialog.showConfirmation(activity, rh.gs(R.string.delete_current_profile, profilePlugin.currentProfile()?.name), {
|
||||||
uel.log(
|
uel.log(
|
||||||
UserEntry.Action.PROFILE_REMOVED, UserEntry.Sources.LocalProfile, ValueWithUnit.SimpleString(
|
UserEntry.Action.PROFILE_REMOVED, UserEntry.Sources.LocalProfile, ValueWithUnit.SimpleString(
|
||||||
profilePlugin.currentProfile()?.name
|
profilePlugin.currentProfile()?.name
|
||||||
|
|
Loading…
Reference in a new issue