mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 23:56:25 +02:00
Hides Poll option when replying to channel or DMs.
This commit is contained in:
@@ -244,8 +244,10 @@ fun NewPostView(onClose: () -> Unit, baseReplyTo: Note? = null, quote: Note? = n
|
|||||||
postViewModel.upload(it, context)
|
postViewModel.upload(it, context)
|
||||||
}
|
}
|
||||||
|
|
||||||
AddPollButton(postViewModel.wantsPoll) {
|
if (postViewModel.canUsePoll()) {
|
||||||
postViewModel.wantsPoll = !postViewModel.wantsPoll
|
AddPollButton(postViewModel.wantsPoll) {
|
||||||
|
postViewModel.wantsPoll = !postViewModel.wantsPoll
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user