diff --git a/packages/TelegramClient-UI.package/TCUPollOption.class/instance/initializeWith.and..st b/packages/TelegramClient-UI.package/TCUPollOption.class/instance/initializeWith.and..st index 9200015e..4bb073b6 100644 --- a/packages/TelegramClient-UI.package/TCUPollOption.class/instance/initializeWith.and..st +++ b/packages/TelegramClient-UI.package/TCUPollOption.class/instance/initializeWith.and..st @@ -1,5 +1,6 @@ as yet unclassified initializeWith: aPollMessage and: anOption + | text | pollMessage := aPollMessage. pollOption := anOption. @@ -9,8 +10,9 @@ initializeWith: aPollMessage and: anOption selectionMorph color: aPollMessage messageColor; extent: 16@16. + text := (anOption votePercentage asString),'% ',(anOption text). textMorph := aPollMessage class defaultTextMorph - contents: (TCUEmojiHelper embedEmojisInto: anOption text); + contents: (TCUEmojiHelper embedEmojisInto: text); hResizing: #spaceFill; color: Color white; margins: aPollMessage class defaultMargins; diff --git a/packages/TelegramClient-UI.package/TCUPollOption.class/methodProperties.json b/packages/TelegramClient-UI.package/TCUPollOption.class/methodProperties.json index 2a5df164..8e8acc98 100644 --- a/packages/TelegramClient-UI.package/TCUPollOption.class/methodProperties.json +++ b/packages/TelegramClient-UI.package/TCUPollOption.class/methodProperties.json @@ -4,10 +4,7 @@ "new:" : "6/14/2024 00:26:16", "new:with:" : "F.M. 6/5/2024 14:49" }, "instance" : { - "initializeWith:" : "6/14/2024 09:29:43", - "initializeWith:and:" : "TU 6/14/2024 00:31", + "initializeWith:and:" : "TU 6/20/2024 21:56", "mouseDown:" : "TU 6/6/2024 01:46", - "selected" : "6/14/2024 09:29:43", - "selected:" : "6/14/2024 09:29:43", "updateSelection" : "TU 6/14/2024 00:29", "updateText:" : "6/14/2024 09:29:43" } }