correctly set currentContent in ComposeViewModel.setup (#4484)
Without this, the check that decides if the dialog on close should be shown operates on incorrect data. closes #4434
This commit is contained in:
parent
bb329ae8b8
commit
adbe694471
|
@ -525,6 +525,7 @@ class ComposeViewModel @Inject constructor(
|
||||||
scheduledTootId = composeOptions?.scheduledTootId
|
scheduledTootId = composeOptions?.scheduledTootId
|
||||||
originalStatusId = composeOptions?.statusId
|
originalStatusId = composeOptions?.statusId
|
||||||
startingText = composeOptions?.content
|
startingText = composeOptions?.content
|
||||||
|
currentContent = composeOptions?.content
|
||||||
postLanguage = composeOptions?.language
|
postLanguage = composeOptions?.language
|
||||||
|
|
||||||
val tootVisibility = composeOptions?.visibility ?: Status.Visibility.UNKNOWN
|
val tootVisibility = composeOptions?.visibility ?: Status.Visibility.UNKNOWN
|
||||||
|
|
Loading…
Reference in New Issue