feat: improve variant display and stream editing

closes #45
This commit is contained in:
2025-06-03 10:25:26 +01:00
parent f553ecdab3
commit 8605761dff
3 changed files with 30 additions and 8 deletions

View File

@ -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((_) {