You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projects/stream-chat-angular/src/lib/attachment-configuration.service.ts
+30-31Lines changed: 30 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ import { Attachment } from 'stream-chat';
3
3
import{
4
4
AttachmentConfigration,
5
5
DefaultStreamChatGenerics,
6
+
ImageAttachmentConfiguration,
6
7
VideoAttachmentConfiguration,
7
8
}from'./types';
8
9
@@ -22,7 +23,7 @@ export class AttachmentConfigurationService<
22
23
a: Attachment<T>,
23
24
type: 'gallery'|'single'|'carousel',
24
25
containerElement: HTMLElement
25
-
)=>AttachmentConfigration;
26
+
)=>ImageAttachmentConfiguration;
26
27
/**
27
28
* A custom handler can be provided to override the default video attachment (videos uploaded from files) configuration. By default the SDK uses fixed height (a size that's known before video is loaded), if you override that with dynamic height (for example: height: 100%) the scrolling logic inside the message list can break.
28
29
*/
@@ -57,7 +58,7 @@ export class AttachmentConfigurationService<
0 commit comments