Bump Rust SDK version and adapt our code (#3068)

* Use the new SDK version
* Adapt the authentication service to the new Rust SDK APIs
* Remove `Timeline.enterSpecialMode(...)` as it's no longer necessary
This commit is contained in:
Jorge Martin Espinosa 2024-06-27 11:44:14 +02:00 committed by GitHub
parent f163852c4b
commit cdbb46fa22
14 changed files with 85 additions and 179 deletions

View file

@ -621,16 +621,8 @@ class MessageComposerPresenter @Inject constructor(
) = launch {
messageComposerContext.composerMode = composerMode
when (composerMode) {
is MessageComposerMode.Reply -> {
timelineController.invokeOnCurrentTimeline {
enterSpecialMode(composerMode.eventId)
}
}
is MessageComposerMode.Edit -> {
setText(composerMode.content, markdownTextEditorState, richTextEditorState)
timelineController.invokeOnCurrentTimeline {
enterSpecialMode(composerMode.eventId)
}
}
else -> Unit
}