implement keytoken list and all-messages list
Some checks failed
Build Docker and Deploy / Build Docker Container (push) Successful in 50s
Build Docker and Deploy / Run Unit-Tests (push) Failing after 11m15s
Build Docker and Deploy / Deploy to Server (push) Has been skipped

This commit is contained in:
2025-04-13 19:47:18 +02:00
parent e9c5c5fb99
commit ab4b40ab75
11 changed files with 685 additions and 14 deletions

View File

@@ -166,6 +166,7 @@ class _ChannelViewPageState extends State<ChannelViewPage> {
}
Widget _buildOwnedChannelView(BuildContext context, Channel channel) {
final userAccUserID = context.select<AppAuth, String?>((v) => v.userID);
final isSubscribed = (subscription != null && subscription!.confirmed);
return SingleChildScrollView(
@@ -208,6 +209,7 @@ class _ChannelViewPageState extends State<ChannelViewPage> {
Navi.push(context, () => ChannelMessageViewPage(channel: channel));
},
),
if (channel.ownerUserID == userAccUserID) UI.button(text: "Delete Channel", onPressed: () {/*TODO*/}, color: Colors.red[900]),
],
),
),