diff --git a/lib/widgets/stream_config.dart b/lib/widgets/stream_config.dart index 9a1340f..42ed1f6 100644 --- a/lib/widgets/stream_config.dart +++ b/lib/widgets/stream_config.dart @@ -171,8 +171,20 @@ class _StreamConfigWidget extends State { BasicButton.text( t.button.save, onTap: (context) async { + final current = widget.currentStream?.getFirstTag("d"); + + // Update current first + if (current != null) { + await widget.api.updateDefaultStreamInfo( + id: current, + title: _title.text, + summary: _summary.text, + contentWarning: _nsfw ? "nsfw" : null, + tags: _tags.text.split(","), + ); + } + // Updated default stream info (no id) await widget.api.updateDefaultStreamInfo( - id: widget.currentStream?.getFirstTag("d"), title: _title.text, summary: _summary.text, contentWarning: _nsfw ? "nsfw" : null,