mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-16 11:58:50 +00:00
@ -177,6 +177,7 @@ class _LivePage extends State<LivePage>
|
||||
builder: (context, streamState) {
|
||||
final ev = streamState
|
||||
?.sortedBy((e) => e.createdAt)
|
||||
.reversed
|
||||
.firstWhereOrNull((e) => e.getFirstTag("status") == "live");
|
||||
|
||||
final stream = ev != null ? StreamEvent(ev) : null;
|
||||
@ -337,6 +338,7 @@ class _LivePage extends State<LivePage>
|
||||
api: _api,
|
||||
account: _account!,
|
||||
hideEndpointConfig: _streaming,
|
||||
currentStream: ev,
|
||||
);
|
||||
},
|
||||
).then((_) {
|
||||
|
Reference in New Issue
Block a user