Fix compilation error

This commit is contained in:
Benoit Marty 2024-09-16 12:39:40 +02:00
parent 34a577d63d
commit 554797099f

View file

@ -111,17 +111,19 @@ fun ConfirmAccountProviderView(
) )
} }
is ChangeServerError.SlidingSyncAlert -> { is ChangeServerError.SlidingSyncAlert -> {
SlidingSyncNotSupportedDialog(onLearnMoreClick = { SlidingSyncNotSupportedDialog(
onLearnMoreClick() onLearnMoreClick = {
eventSink(ConfirmAccountProviderEvents.ClearError) onLearnMoreClick()
}, onDismiss = { eventSink(ConfirmAccountProviderEvents.ClearError)
eventSink(ConfirmAccountProviderEvents.ClearError) },
}) onDismiss = {
eventSink(ConfirmAccountProviderEvents.ClearError)
})
} }
is AccountCreationNotSupported -> { is AccountCreationNotSupported -> {
ErrorDialog( ErrorDialog(
content = stringResource(CommonStrings.error_account_creation_not_possible), content = stringResource(CommonStrings.error_account_creation_not_possible),
onDismiss = { onSubmit = {
eventSink.invoke(ConfirmAccountProviderEvents.ClearError) eventSink.invoke(ConfirmAccountProviderEvents.ClearError)
} }
) )