Fix compilation error
This commit is contained in:
parent
34a577d63d
commit
554797099f
1 changed files with 9 additions and 7 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue