Added profile name to the actual code (not just the string).

This commit is contained in:
ssuppe 2023-12-02 23:42:54 +00:00
parent b6af7447e8
commit 2a1ddc956f

View file

@ -300,7 +300,7 @@ class ProfileFragment : DaggerFragment() {
binding.profileRemove.setOnClickListener {
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(
UserEntry.Action.PROFILE_REMOVED, UserEntry.Sources.LocalProfile, ValueWithUnit.SimpleString(
profilePlugin.currentProfile()?.name