Fix toggle in AdvancedPrivacySettingsFragment.

This commit is contained in:
Alex Hart
2023-07-18 11:44:59 -03:00
committed by Nicholas
parent 6db59cb896
commit b8f55f982f
2 changed files with 2 additions and 0 deletions

View File

@@ -413,6 +413,7 @@ class PrivacySettingsFragment : DSLSettingsFragment(R.string.preferences__privac
override fun onAuthenticationFailed() {
Log.w(TAG, "Unable to authenticate payment lock")
viewModel.refresh()
}
}
}

View File

@@ -134,6 +134,7 @@ class AdvancedPrivacySettingsFragment : DSLSettingsFragment(R.string.preferences
builder
.setCustomTitle(title)
.setOnDismissListener { viewModel.refresh() }
.show()
} else {
startActivity(RegistrationNavigationActivity.newIntentForReRegistration(requireContext()))