forked from Nexus/nexus
parent
69f175babe
commit
8d4745cc12
1 changed files with 232 additions and 4 deletions
|
|
@ -10,6 +10,7 @@ import "package:nexus/controllers/client.dart";
|
|||
import "package:nexus/models/room_notification_level.dart";
|
||||
import "package:nexus/controllers/room_settings_sections.dart";
|
||||
import "package:nexus/widgets/settings/settings_layout.dart";
|
||||
import "package:nexus/widgets/users/room_profile_sheet.dart";
|
||||
import "package:nexus/controllers/via.dart";
|
||||
import "package:nexus/models/room.dart";
|
||||
import "package:flutter_hooks/flutter_hooks.dart";
|
||||
|
|
@ -168,6 +169,15 @@ final class const RoomMenuButton(
|
|||
title: Text("Invite"),
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
onTap: () => context.showAdaptiveSheet(
|
||||
(_) => RoomProfileSheet(room!.metadata!.id),
|
||||
),
|
||||
child: ListTile(
|
||||
leading: Icon(Icons.manage_accounts),
|
||||
title: Text("Room Profile"),
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
onTap: () => showDialog(
|
||||
context: context,
|
||||
|
|
|
|||
Loading…
Reference in a new issue