From 009cab7eb74f1a2be9c95cf4142d786363d3bed1 Mon Sep 17 00:00:00 2001 From: Jonas Kubeler Date: Thu, 4 Jul 2024 11:11:52 +0200 Subject: [PATCH] removed a lot of dead code and kindof "fixed" TCUStickerList's responsiveness --- assets/default_video_thumbnail.png | Bin 3343 -> 3343 bytes .../class/extractPathFrom..st | 4 ---- .../class/imageFormFrom..st | 4 ---- .../TCCImageStore.class/class/newWith..st | 6 ------ .../TCCImageStore.class/instance/core..st | 4 ---- .../TCCImageStore.class/instance/core.st | 4 ---- .../instance/getFormFor..st | 7 ------- .../instance/getFormPromiseFor..st | 10 ---------- .../instance/requestImageFor.with..st | 9 --------- .../TCCImageStore.class/methodProperties.json | 10 ++-------- .../class/newSendDocumentMessage.to..st | 2 -- .../TCCRequest.class/methodProperties.json | 2 +- .../class/extractPathFrom..st | 4 ---- .../class/stickerFormFrom..st | 9 --------- .../TCCStickerStore.class/instance/core..st | 4 ---- .../TCCStickerStore.class/instance/core.st | 4 ---- .../instance/downloadStickerSet..st | 6 ------ .../instance/getFormFor..st | 8 -------- .../instance/getFormPromiseFor..st | 10 ---------- .../instance/getInstalledStickers.st | 10 ---------- .../instance/requestStickerFor.with..st | 9 --------- .../instance/stickerIds..st | 4 ---- .../instance/stickerIds.st | 4 ---- .../methodProperties.json | 15 ++------------- .../class/extractPathFrom..st | 4 ---- .../class/imageFormFrom..st | 4 ---- .../instance/getFormFor..st | 7 ------- .../instance/getFormPromiseFor..st | 10 ---------- .../TCCVideoStore.class/methodProperties.json | 4 ---- .../TCUChatWindow.class/methodProperties.json | 2 +- .../instance/buildStickerListItemsFor..st | 4 +++- .../instance/collectInstalledStickers.st | 10 ---------- .../instance/downloadStickerSetFrom..st | 5 ----- .../instance/loadStickers.st | 4 ---- .../instance/loadStickersFromStore.st | 8 -------- .../instance/showSelectedSet.st | 2 +- .../methodProperties.json | 8 ++------ 37 files changed, 12 insertions(+), 209 deletions(-) delete mode 100644 packages/TelegramClient-Core.package/TCCImageStore.class/class/extractPathFrom..st delete mode 100644 packages/TelegramClient-Core.package/TCCImageStore.class/class/imageFormFrom..st delete mode 100644 packages/TelegramClient-Core.package/TCCImageStore.class/class/newWith..st delete mode 100644 packages/TelegramClient-Core.package/TCCImageStore.class/instance/core..st delete mode 100644 packages/TelegramClient-Core.package/TCCImageStore.class/instance/core.st delete mode 100644 packages/TelegramClient-Core.package/TCCImageStore.class/instance/getFormFor..st delete mode 100644 packages/TelegramClient-Core.package/TCCImageStore.class/instance/getFormPromiseFor..st delete mode 100644 packages/TelegramClient-Core.package/TCCImageStore.class/instance/requestImageFor.with..st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/class/extractPathFrom..st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/class/stickerFormFrom..st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/instance/core..st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/instance/core.st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/instance/downloadStickerSet..st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getFormFor..st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getFormPromiseFor..st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getInstalledStickers.st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/instance/requestStickerFor.with..st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/instance/stickerIds..st delete mode 100644 packages/TelegramClient-Core.package/TCCStickerStore.class/instance/stickerIds.st delete mode 100644 packages/TelegramClient-Core.package/TCCVideoStore.class/class/extractPathFrom..st delete mode 100644 packages/TelegramClient-Core.package/TCCVideoStore.class/class/imageFormFrom..st delete mode 100644 packages/TelegramClient-Core.package/TCCVideoStore.class/instance/getFormFor..st delete mode 100644 packages/TelegramClient-Core.package/TCCVideoStore.class/instance/getFormPromiseFor..st delete mode 100644 packages/TelegramClient-UI.package/TCUStickerList.class/instance/collectInstalledStickers.st delete mode 100644 packages/TelegramClient-UI.package/TCUStickerList.class/instance/downloadStickerSetFrom..st delete mode 100644 packages/TelegramClient-UI.package/TCUStickerList.class/instance/loadStickers.st delete mode 100644 packages/TelegramClient-UI.package/TCUStickerList.class/instance/loadStickersFromStore.st diff --git a/assets/default_video_thumbnail.png b/assets/default_video_thumbnail.png index 85b59800ae6c499e89cfc2e682e7cf155d7eacba..6c307bbc05359310059c35ad85889bfd95f8a7fe 100644 GIT binary patch delta 44 zcmV+{0Mq}E8jl)~P#Dk8%+Ais&CSZp%*oc)&)3(`)z!|>(9N-E!U6-@kDaqE1L6sI C>= [:aPath | self class imageFormFrom: aPath] \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCImageStore.class/instance/requestImageFor.with..st b/packages/TelegramClient-Core.package/TCCImageStore.class/instance/requestImageFor.with..st deleted file mode 100644 index 7c699d4e9..000000000 --- a/packages/TelegramClient-Core.package/TCCImageStore.class/instance/requestImageFor.with..st +++ /dev/null @@ -1,9 +0,0 @@ -utility -requestImageFor: anImageId with: aPromise - - "documented here:" - "https://core.telegram.org/tdlib/docs/classtd_1_1td__api_1_1download_file.html" - - self core - send: (TCCRequest newRequestFile: anImageId) - thenDo: [:imageEvent | aPromise resolveWith: (self class extractPathFrom: imageEvent)]. \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCImageStore.class/methodProperties.json b/packages/TelegramClient-Core.package/TCCImageStore.class/methodProperties.json index c1a995105..0e4a66223 100644 --- a/packages/TelegramClient-Core.package/TCCImageStore.class/methodProperties.json +++ b/packages/TelegramClient-Core.package/TCCImageStore.class/methodProperties.json @@ -1,11 +1,5 @@ { "class" : { - "extractPathFrom:" : "6/23/2024 14:02:55", - "imageFormFrom:" : "6/23/2024 14:02:55", - "newWith:" : "6/23/2024 14:02:55" }, + }, "instance" : { - "core" : "6/23/2024 14:02:55", - "core:" : "6/23/2024 14:02:55", - "getFormFor:" : "6/23/2024 14:02:55", - "getFormPromiseFor:" : "6/23/2024 14:02:55", - "requestImageFor:with:" : "6/22/2024 13:42:57" } } + } } diff --git a/packages/TelegramClient-Core.package/TCCRequest.class/class/newSendDocumentMessage.to..st b/packages/TelegramClient-Core.package/TCCRequest.class/class/newSendDocumentMessage.to..st index fd438e246..71239f48f 100644 --- a/packages/TelegramClient-Core.package/TCCRequest.class/class/newSendDocumentMessage.to..st +++ b/packages/TelegramClient-Core.package/TCCRequest.class/class/newSendDocumentMessage.to..st @@ -1,7 +1,5 @@ instance creation newSendDocumentMessage: aDocumentPath to: aChatId - Transcript show: aDocumentPath. - self halt. ^ TCCRequest newWithType: 'sendMessage' diff --git a/packages/TelegramClient-Core.package/TCCRequest.class/methodProperties.json b/packages/TelegramClient-Core.package/TCCRequest.class/methodProperties.json index 421547532..8bba3f417 100644 --- a/packages/TelegramClient-Core.package/TCCRequest.class/methodProperties.json +++ b/packages/TelegramClient-Core.package/TCCRequest.class/methodProperties.json @@ -16,7 +16,7 @@ "newRequestFile:" : "JB 8/1/2021 11:35", "newRequestSticker:" : "JK 5/16/2024 21:39", "newSearchChatFrom:" : "RS 6/23/2021 16:38", - "newSendDocumentMessage:to:" : "ED 6/26/2024 14:59", + "newSendDocumentMessage:to:" : "JK 6/28/2024 10:15", "newSendFileMessage:to:" : "ED 6/19/2024 13:51", "newSendMessage:to:" : "6/7/2024 09:02:10", "newSendMessage:to:asReplyTo:" : "JS 5/20/2022 10:02", diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/class/extractPathFrom..st b/packages/TelegramClient-Core.package/TCCStickerStore.class/class/extractPathFrom..st deleted file mode 100644 index 276d1b715..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/class/extractPathFrom..st +++ /dev/null @@ -1,4 +0,0 @@ -utility -extractPathFrom: anEvent - - ^ (anEvent at: 'local') at: 'path' \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/class/stickerFormFrom..st b/packages/TelegramClient-Core.package/TCCStickerStore.class/class/stickerFormFrom..st deleted file mode 100644 index 9bac22610..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/class/stickerFormFrom..st +++ /dev/null @@ -1,9 +0,0 @@ -utility -stickerFormFrom: aString - - | file byteArray | - file := FileStream fileNamed: aString. - file binary. - byteArray := file next: file size. - file close. - ^ (TCCLibWebP decode: byteArray). \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/core..st b/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/core..st deleted file mode 100644 index bd19251b0..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/core..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -core: aCore - - core := aCore \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/core.st b/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/core.st deleted file mode 100644 index 7652dd8d1..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/core.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -core - - ^ core \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/downloadStickerSet..st b/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/downloadStickerSet..st deleted file mode 100644 index 288ce25f2..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/downloadStickerSet..st +++ /dev/null @@ -1,6 +0,0 @@ -as yet unclassified -downloadStickerSet: aStickerSet - - self storeStickerSet: aStickerSet. - (aStickerSet at: 'stickers') do: [:sticker | - self getFormPromiseFor: ((sticker at: 'sticker') at: 'id')]. \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getFormFor..st b/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getFormFor..st deleted file mode 100644 index c11bdd356..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getFormFor..st +++ /dev/null @@ -1,8 +0,0 @@ -accessing -getFormFor: aStickerId - - | promise | - - promise := self getFormPromiseFor: aStickerId. - promise wait. - ^ promise value \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getFormPromiseFor..st b/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getFormPromiseFor..st deleted file mode 100644 index 68d6a0f7e..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getFormPromiseFor..st +++ /dev/null @@ -1,10 +0,0 @@ -accessing -getFormPromiseFor: aStickerId - - | promise | - promise := self at: aStickerId ifAbsent: [ - self at: aStickerId put: Promise new. - self requestStickerFor: aStickerId with: (self at: aStickerId). - self at: aStickerId - ]. - ^ promise >>= [:aPath | self class stickerFormFrom: aPath] \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getInstalledStickers.st b/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getInstalledStickers.st deleted file mode 100644 index 12b5646c4..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/getInstalledStickers.st +++ /dev/null @@ -1,10 +0,0 @@ -as yet unclassified -getInstalledStickers - - | sets | - - sets := Array new. - self core send: (TCCRequest getInstalledStickerSets) - thenDo: [:stickerEvent | sets := stickerEvent at: 'sets'. - sets do: [:setInfo | self core send: (TCCRequest getStickerSetFor: (setInfo at: 'id')) - thenDo: [:set | (set at: 'is_animated') ifFalse: [self downloadStickerSet: set.]]]]. \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/requestStickerFor.with..st b/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/requestStickerFor.with..st deleted file mode 100644 index 763f73f3c..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/requestStickerFor.with..st +++ /dev/null @@ -1,9 +0,0 @@ -utility -requestStickerFor: aStickerId with: aPromise - - "documented here:" - "https://core.telegram.org/tdlib/docs/classtd_1_1td__api_1_1download_file.html" - - self core - send: (TCCRequest newRequestSticker: aStickerId) - thenDo: [:stickerEvent | aPromise resolveWith: (self class extractPathFrom: stickerEvent)]. \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/stickerIds..st b/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/stickerIds..st deleted file mode 100644 index 53e42fac2..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/stickerIds..st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -stickerIds: aStickerIdsArray - - stickerIds := aStickerIdsArray \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/stickerIds.st b/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/stickerIds.st deleted file mode 100644 index b63ef0308..000000000 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/instance/stickerIds.st +++ /dev/null @@ -1,4 +0,0 @@ -accessing -stickerIds - - ^ stickerIds \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCStickerStore.class/methodProperties.json b/packages/TelegramClient-Core.package/TCCStickerStore.class/methodProperties.json index 0c43de1ea..dc053cbbb 100644 --- a/packages/TelegramClient-Core.package/TCCStickerStore.class/methodProperties.json +++ b/packages/TelegramClient-Core.package/TCCStickerStore.class/methodProperties.json @@ -1,20 +1,9 @@ { "class" : { - "extractPathFrom:" : "6/23/2024 14:02:55", "imageFormFrom:" : "JK 6/21/2024 13:46", - "newWith:" : "JK 6/20/2024 22:18", - "stickerFormFrom:" : "6/23/2024 14:02:55" }, + "newWith:" : "JK 6/20/2024 22:18" }, "instance" : { - "core" : "6/23/2024 14:02:55", - "core:" : "6/23/2024 14:02:55", - "downloadStickerSet:" : "JK 6/19/2024 11:33", - "getFormFor:" : "6/23/2024 14:02:55", - "getFormPromiseFor:" : "6/23/2024 14:02:55", - "getInstalledStickers" : "6/23/2024 17:46:17", "loadStickerIds" : "JK 6/20/2024 23:39", - "requestStickerFor:with:" : "JK 5/16/2024 21:40", - "stickerIds" : "6/23/2024 17:46:17", - "stickerIds:" : "6/23/2024 17:46:17", "stickerSets" : "JK 6/19/2024 11:30", "stickerSets:" : "JK 6/19/2024 11:30", - "storeStickerSet:" : "JK 6/23/2024 16:33" } } + "storeStickerSet:" : "JK 7/4/2024 10:50" } } diff --git a/packages/TelegramClient-Core.package/TCCVideoStore.class/class/extractPathFrom..st b/packages/TelegramClient-Core.package/TCCVideoStore.class/class/extractPathFrom..st deleted file mode 100644 index 276d1b715..000000000 --- a/packages/TelegramClient-Core.package/TCCVideoStore.class/class/extractPathFrom..st +++ /dev/null @@ -1,4 +0,0 @@ -utility -extractPathFrom: anEvent - - ^ (anEvent at: 'local') at: 'path' \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCVideoStore.class/class/imageFormFrom..st b/packages/TelegramClient-Core.package/TCCVideoStore.class/class/imageFormFrom..st deleted file mode 100644 index 01f1dc7a4..000000000 --- a/packages/TelegramClient-Core.package/TCCVideoStore.class/class/imageFormFrom..st +++ /dev/null @@ -1,4 +0,0 @@ -utility -imageFormFrom: aString - - ^ Form fromFileNamed: aString \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCVideoStore.class/instance/getFormFor..st b/packages/TelegramClient-Core.package/TCCVideoStore.class/instance/getFormFor..st deleted file mode 100644 index 4619676d9..000000000 --- a/packages/TelegramClient-Core.package/TCCVideoStore.class/instance/getFormFor..st +++ /dev/null @@ -1,7 +0,0 @@ -accessing -getFormFor: aThumbnailId - - | promise | - promise := self getFormPromiseFor: aThumbnailId. - promise wait. - ^ promise value \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCVideoStore.class/instance/getFormPromiseFor..st b/packages/TelegramClient-Core.package/TCCVideoStore.class/instance/getFormPromiseFor..st deleted file mode 100644 index 3e615c584..000000000 --- a/packages/TelegramClient-Core.package/TCCVideoStore.class/instance/getFormPromiseFor..st +++ /dev/null @@ -1,10 +0,0 @@ -accessing -getFormPromiseFor: aThumbnailId - - | promise | - promise := self at: aThumbnailId ifAbsent: [ - self at: aThumbnailId put: Promise new. - self requestFileFor: aThumbnailId with: (self at: aThumbnailId). - self at: aThumbnailId - ]. - ^ promise >>= [:aPath | self class imageFormFrom: aPath] \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCVideoStore.class/methodProperties.json b/packages/TelegramClient-Core.package/TCCVideoStore.class/methodProperties.json index 3adf81380..190c2b5a8 100644 --- a/packages/TelegramClient-Core.package/TCCVideoStore.class/methodProperties.json +++ b/packages/TelegramClient-Core.package/TCCVideoStore.class/methodProperties.json @@ -1,10 +1,6 @@ { "class" : { - "extractPathFrom:" : "6/23/2024 14:02:55", - "imageFormFrom:" : "6/23/2024 14:02:55", "newWith:" : "ED 6/26/2024 14:50" }, "instance" : { - "getFormFor:" : "6/23/2024 14:02:55", - "getFormPromiseFor:" : "6/23/2024 14:02:55", "getVideoFor:" : "JK 6/12/2024 19:48", "getVideoPromiseFor:" : "JK 6/12/2024 19:56" } } diff --git a/packages/TelegramClient-UI.package/TCUChatWindow.class/methodProperties.json b/packages/TelegramClient-UI.package/TCUChatWindow.class/methodProperties.json index 40d04b5c6..1db6c59b8 100644 --- a/packages/TelegramClient-UI.package/TCUChatWindow.class/methodProperties.json +++ b/packages/TelegramClient-UI.package/TCUChatWindow.class/methodProperties.json @@ -20,7 +20,7 @@ "addWelcomeMessage" : "RK 8/4/2021 12:07", "buttonFileSelectPressed" : "JK 6/26/2024 14:30", "buttonSendPressed" : "ek 6/19/2022 19:07", - "buttonStickerPressed" : "AH 6/23/2024 13:00", + "buttonStickerPressed" : "JK 7/4/2024 10:58", "chatMessageList" : "JB 7/6/2021 14:02", "chatMessageList:" : "JB 7/6/2021 14:02", "clear" : "jkon 6/18/2024 10:48", diff --git a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/buildStickerListItemsFor..st b/packages/TelegramClient-UI.package/TCUStickerList.class/instance/buildStickerListItemsFor..st index 91cfa6bb3..65cec9602 100644 --- a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/buildStickerListItemsFor..st +++ b/packages/TelegramClient-UI.package/TCUStickerList.class/instance/buildStickerListItemsFor..st @@ -11,6 +11,8 @@ buildStickerListItemsFor: anArray selectedChat: self selectedChat; path: ((self core stickerStore at: stickerId) value)). item on: #mouseDown send: #sendStickerMessage:event:from: to: self selectedChat withValue: stickerId. - stickers add: item]. + stickers add: item. + self scroller addMorphBack: item. + Transcript show: '.']. self items: stickers. \ No newline at end of file diff --git a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/collectInstalledStickers.st b/packages/TelegramClient-UI.package/TCUStickerList.class/instance/collectInstalledStickers.st deleted file mode 100644 index ca3f5aeb7..000000000 --- a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/collectInstalledStickers.st +++ /dev/null @@ -1,10 +0,0 @@ -drawing -collectInstalledStickers - - | core sets | - sets := Array new. - core := self core. - core send: (TCCRequest getInstalledStickerSets) - thenDo: [:stickerEvent | sets := stickerEvent at: 'sets'. - sets do: [:setInfo | core send: (TCCRequest getStickerSetFor: (setInfo at: 'id')) - thenDo: [:set | self downloadStickerSetFrom: set.]]]. \ No newline at end of file diff --git a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/downloadStickerSetFrom..st b/packages/TelegramClient-UI.package/TCUStickerList.class/instance/downloadStickerSetFrom..st deleted file mode 100644 index 05f12a7d0..000000000 --- a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/downloadStickerSetFrom..st +++ /dev/null @@ -1,5 +0,0 @@ -stepping and presenter -downloadStickerSetFrom: aStickerSet - - (aStickerSet at: 'stickers') do: [:sticker | - core send: (TCCRequest newRequestSticker: ((sticker at: 'sticker') at: 'id'))]. \ No newline at end of file diff --git a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/loadStickers.st b/packages/TelegramClient-UI.package/TCUStickerList.class/instance/loadStickers.st deleted file mode 100644 index 7e9139fb1..000000000 --- a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/loadStickers.st +++ /dev/null @@ -1,4 +0,0 @@ -drawing -loadStickers - - ^ self core stickerStore stickerIds \ No newline at end of file diff --git a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/loadStickersFromStore.st b/packages/TelegramClient-UI.package/TCUStickerList.class/instance/loadStickersFromStore.st deleted file mode 100644 index f951b0737..000000000 --- a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/loadStickersFromStore.st +++ /dev/null @@ -1,8 +0,0 @@ -drawing -loadStickersFromStore - - | stickerpaths | - - stickerpaths := OrderedCollection new. - self core stickerStore values do: [:val | stickerpaths add: val value]. - ^ stickerpaths \ No newline at end of file diff --git a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/showSelectedSet.st b/packages/TelegramClient-UI.package/TCUStickerList.class/instance/showSelectedSet.st index 4180e1b74..7def6fde4 100644 --- a/packages/TelegramClient-UI.package/TCUStickerList.class/instance/showSelectedSet.st +++ b/packages/TelegramClient-UI.package/TCUStickerList.class/instance/showSelectedSet.st @@ -5,5 +5,5 @@ showSelectedSet self clearItems. stickers := self core stickerStore stickerSets at: self selectedSet. self buildStickerListItemsFor: stickers. - self items do: [:anItem | self scroller addMorphBack: anItem]. + "self items do: [:anItem | self scroller addMorphBack: anItem]." \ No newline at end of file diff --git a/packages/TelegramClient-UI.package/TCUStickerList.class/methodProperties.json b/packages/TelegramClient-UI.package/TCUStickerList.class/methodProperties.json index 0b9911718..37528ee05 100644 --- a/packages/TelegramClient-UI.package/TCUStickerList.class/methodProperties.json +++ b/packages/TelegramClient-UI.package/TCUStickerList.class/methodProperties.json @@ -6,16 +6,12 @@ "addNextButton" : "JK 6/19/2024 12:03", "addPreviousButton" : "JK 6/19/2024 12:04", "buildStickerListItems" : "6/23/2024 14:02:54", - "buildStickerListItemsFor:" : "JK 6/21/2024 14:07", + "buildStickerListItemsFor:" : "JK 7/4/2024 11:08", "close" : "JK 5/29/2024 20:09", - "collectInstalledStickers" : "6/23/2024 14:02:54", "convertWebp:" : "6/22/2024 13:42:57", "core" : "JK 5/31/2024 14:29", "core:" : "JK 5/31/2024 14:29", - "downloadStickerSetFrom:" : "6/23/2024 14:02:54", "initialize" : "JK 6/20/2024 23:42", - "loadStickers" : "6/23/2024 14:02:54", - "loadStickersFromStore" : "6/23/2024 14:02:54", "selectedChat" : "JK 5/28/2024 10:22", "selectedChat:" : "JK 5/28/2024 10:23", "selectedSet" : "JK 6/20/2024 11:39", @@ -24,6 +20,6 @@ "shouldRedraw:" : "JK 5/22/2024 20:12", "showNextSet" : "JK 6/21/2024 00:08", "showPreviousSet" : "JK 6/21/2024 00:08", - "showSelectedSet" : "JK 6/21/2024 00:09", + "showSelectedSet" : "JK 7/4/2024 11:02", "step" : "JK 6/21/2024 00:09", "stepTime" : "JK 5/22/2024 19:59" } }