feat(sample-app): Migrate sample app to v4

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2022-03-21 16:12:28 +05:30
committed by xsahil03x
parent 931506c002
commit 420028da2e
21 changed files with 200 additions and 128 deletions
@@ -160,7 +160,7 @@ class _ChannelFileDisplayScreenState extends State<ChannelFileDisplayScreen> {
padding: const EdgeInsets.all(1.0),
child: Padding(
padding: const EdgeInsets.all(8.0),
child: FileAttachment(
child: StreamFileAttachment(
message: media.values.toList()[position],
attachment: media.keys.toList()[position],
),