fix delete&redraft losing toot text (#1599)
This commit is contained in:
parent
82e13db28f
commit
eca3b5379e
1 changed files with 3 additions and 4 deletions
|
@ -406,10 +406,9 @@ class ComposeViewModel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
composeOptions?.savedTootUid?.let { uid ->
|
savedTootUid = composeOptions?.savedTootUid ?: 0
|
||||||
this.savedTootUid = uid
|
startingText = composeOptions?.tootText
|
||||||
startingText = composeOptions.tootText
|
|
||||||
}
|
|
||||||
|
|
||||||
val tootVisibility = composeOptions?.visibility ?: Status.Visibility.UNKNOWN
|
val tootVisibility = composeOptions?.visibility ?: Status.Visibility.UNKNOWN
|
||||||
if (tootVisibility.num != Status.Visibility.UNKNOWN.num) {
|
if (tootVisibility.num != Status.Visibility.UNKNOWN.num) {
|
||||||
|
|
Loading…
Reference in a new issue