show score

This commit is contained in:
Anna 2022-09-04 01:27:04 -04:00
parent 5d47133c84
commit 946aaac276
1 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,8 @@ internal class Viewer {
ImGui.TextUnformatted(message.Text);
ImGui.PopTextWrapPos();
ImGui.TextUnformatted($"Appraisals: {message.PositiveVotes - message.NegativeVotes}");
if (ImGui.Button("Like")) {
Task.Run(async () => {
await ServerHelper.SendRequest(
@ -85,7 +87,7 @@ internal class Viewer {
);
});
}
ImGui.SameLine();
if (ImGui.Button("Dislike")) {