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:
parent
f163852c4b
commit
cdbb46fa22
14 changed files with 85 additions and 179 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue