Profile: fix Save button behavior

This commit is contained in:
Milos Kozak 2021-11-15 18:45:55 +01:00
parent b785f9215d
commit 6aaedefbed

View file

@ -156,6 +156,7 @@ class LocalProfileFragment : DaggerFragment() {
activity?.let { activity ->
OKDialog.showConfirmation(activity, rh.gs(R.string.doyouwantswitchprofile), {
localProfilePlugin.currentProfileIndex = position
localProfilePlugin.isEdited = false
build()
}, {
spinner?.setSelection(localProfilePlugin.currentProfileIndex)