feat: preview media in modal

closes #38
This commit is contained in:
2025-05-28 12:17:44 +01:00
parent 2ec17c6c41
commit c6168ec094
7 changed files with 77 additions and 19 deletions

View File

@ -58,6 +58,7 @@ class ProfilePage extends StatelessWidget {
TextSpan(
style: TextStyle(color: LAYER_5),
children: textToSpans(
context,
profile.about ?? "",
[],
profile.pubKey,

View File

@ -145,6 +145,7 @@ class _StreamPage extends State<StreamPage> with RouteAware {
url: stream.info.stream!,
placeholder: stream.info.image,
aspectRatio: 16 / 9,
isLive: true,
)
: (stream.info.image?.isNotEmpty ?? false)
? ProxyImg(url: stream.info.image)