Avoid closing dialog during learn more sync failure.

This commit is contained in:
Michelle Tang
2025-02-20 13:15:40 -05:00
committed by Greyson Parrelli
parent 47ce28a721
commit e5c9519076

View File

@@ -212,10 +212,7 @@ class LinkDeviceFragment : ComposeFragment() {
onDeviceRemovalConfirmed = { device -> viewModel.removeDevice(device) },
onSyncFailureRetryRequested = { viewModel.onSyncErrorRetryRequested() },
onSyncFailureIgnored = { viewModel.onSyncErrorIgnored() },
onSyncFailureLearnMore = {
viewModel.onSyncErrorIgnored()
CommunicationActions.openBrowserLink(requireContext(), requireContext().getString(R.string.LinkDeviceFragment__learn_more_url))
},
onSyncFailureLearnMore = { CommunicationActions.openBrowserLink(requireContext(), requireContext().getString(R.string.LinkDeviceFragment__learn_more_url)) },
onSyncFailureContactSupport = { viewModel.onSyncErrorContactSupport() },
onSyncCancelled = { viewModel.onSyncCancelled() },
onEditDevice = { device ->