Skip to content

Commit ef6f604

Browse files
author
Elia Doumerc
committed
going from one error to the next
1 parent c708bcd commit ef6f604

File tree

6 files changed

+22
-20
lines changed

6 files changed

+22
-20
lines changed

.squot-materialize

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@
2020
],
2121
#encoding : 'TXT'
2222
},
23-
SquotImageMapper {
24-
#path : FSAbsolutePath [
25-
'assets',
26-
'default-video-thumbnail.png'
27-
],
28-
#encoding : Class [ #PNGReadWriter ]
29-
},
3023
SquotPlaintextMapper {
3124
#path : FSAbsolutePath [
3225
'.gitignore'
@@ -124,7 +117,7 @@
124117
'assets',
125118
'logo.png'
126119
],
127-
#encoding : @10
120+
#encoding : Class [ #PNGReadWriter ]
128121
},
129122
SquotCypressMapper {
130123
#package : MCPackage {
@@ -140,6 +133,13 @@
140133
],
141134
#encoding : 'TXT'
142135
},
136+
SquotImageMapper {
137+
#path : FSAbsolutePath [
138+
'assets',
139+
'default_video_thumbnail.png'
140+
],
141+
#encoding : @40
142+
},
143143
SquotPlaintextMapper {
144144
#path : FSAbsolutePath [
145145
'scripts',
@@ -189,6 +189,6 @@
189189
'assets',
190190
'play_circle_outline_icon.png'
191191
],
192-
#encoding : @10
192+
#encoding : @40
193193
}
194194
]
Loading

packages/TelegramClient-Core.package/TCCVideoMessage.class/class/newFrom..st

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ newFrom: aJsonObject
33

44
| thumbnailData |
55
thumbnailData := ((aJsonObject at: 'video') at: 'thumbnail').
6-
"thumbnailData = nil ifTrue: [
7-
thumbnailData := Dictionary new
8-
add: 'width' -> 810;
9-
add: 'height' -> 452;
10-
yourself.
11-
thumbnailData add: ('file' -> (Dictionary new add: 'id' -> -1))
12-
]."
6+
thumbnailData = nil ifTrue: [
7+
thumbnailData := JsonObject newFrom: {
8+
'width' -> 810.
9+
'height' -> 452.
10+
'file' -> (JsonObject newFrom: {'id' -> -1}).
11+
}.
12+
].
1313

1414
^ self new
1515
caption: ((aJsonObject at: 'caption') at: 'text');

packages/TelegramClient-Core.package/TCCVideoMessage.class/methodProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"class" : {
3-
"newFrom:" : "ED 6/21/2024 10:49" },
3+
"newFrom:" : "ED 6/26/2024 11:56" },
44
"instance" : {
55
"asSnippet" : "JK 6/12/2024 11:31",
66
"asText" : "TR 6/20/2021 10:41",

packages/TelegramClient-Core.package/TCCVideoStore.class/class/newWith..st

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ utility
22
newWith: aCore
33

44
|obj|
5+
"self halt."
56
obj := super newWith: aCore.
6-
obj add: (Association key: -1 value: '/assets/default_video_thumbnail.png').
7-
^ obj
7+
" obj add: (Association key: -1 value: (Promise new initializeWithResolvedValue: ((GitAssetLoader for: 'TelegramClient')
8+
'/assets/default_video_thumbnail.png')).
9+
" ^ obj

packages/TelegramClient-Core.package/TCCVideoStore.class/methodProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"class" : {
33
"extractPathFrom:" : "pk 6/19/2021 16:23",
44
"imageFormFrom:" : "pk 8/5/2021 16:52",
5-
"newWith:" : "ED 6/21/2024 09:15" },
5+
"newWith:" : "ED 6/26/2024 12:24" },
66
"instance" : {
77
"getFormFor:" : "JK 6/12/2024 19:28",
88
"getFormPromiseFor:" : "JK 6/12/2024 19:30",

0 commit comments

Comments
 (0)