Editable channel

This commit is contained in:
2024-11-28 23:35:25 +08:00
parent dc1ce94145
commit 36013a3a57
8 changed files with 203 additions and 5 deletions

View File

@ -200,7 +200,16 @@ class _ChatRoomScreenState extends State<ChatRoomScreen> {
),
IconButton(
icon: const Icon(Symbols.more_vert),
onPressed: () {},
onPressed: () {
GoRouter.of(context).pushNamed('channelDetail', pathParameters: {
'scope': widget.scope,
'alias': widget.alias,
}).then((value) {
if (value != null) {
_fetchChannel();
}
});
},
),
const Gap(8),
],