mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-06 23:34:01 +02:00
Resets mentions to avoid marking users in new posts from an old reply.
This commit is contained in:
@@ -102,6 +102,7 @@ class NewPostViewModel: ViewModel() {
|
||||
message = TextFieldValue("")
|
||||
urlPreview = null
|
||||
isUploadingImage = false
|
||||
mentions = null
|
||||
}
|
||||
|
||||
fun upload(it: Uri, context: Context) {
|
||||
@@ -128,6 +129,7 @@ class NewPostViewModel: ViewModel() {
|
||||
message = TextFieldValue("")
|
||||
urlPreview = null
|
||||
isUploadingImage = false
|
||||
mentions = null
|
||||
}
|
||||
|
||||
fun findUrlInMessage(): String? {
|
||||
|
Reference in New Issue
Block a user