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:
Konrad Pozniak 2024-06-05 19:36:48 +02:00 committed by GitHub
parent bb329ae8b8
commit adbe694471
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -525,6 +525,7 @@ class ComposeViewModel @Inject constructor(
scheduledTootId = composeOptions?.scheduledTootId
originalStatusId = composeOptions?.statusId
startingText = composeOptions?.content
currentContent = composeOptions?.content
postLanguage = composeOptions?.language
val tootVisibility = composeOptions?.visibility ?: Status.Visibility.UNKNOWN