mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2026-03-13 12:32:33 +00:00
add refreshing of panel after poll update
This commit is contained in:
@@ -128,6 +128,7 @@ object Plugin : Plugin {
|
||||
(variantsTransformer(it.textSources.makeSourceString()) ?.double ?.times(it.votes)) ?: 0.0
|
||||
}
|
||||
ratingsRepo.set(postId, Rating(newRating))
|
||||
panelApi ?.forceRefresh(postId)
|
||||
}
|
||||
|
||||
suspend fun attachPoll(postId: PostId): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user