mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
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:
committed by
GitHub
parent
d638d61e2b
commit
4904c4b751
-8
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user