remove mute/unmute from example

This commit is contained in:
Hiroshi Horie
2021-10-22 03:06:24 +09:00
parent a1c80dee83
commit 4b29534e95
2 changed files with 2 additions and 13 deletions
-13
View File
@@ -140,19 +140,6 @@ class RemoteTrackPublicationMenuWidget extends StatelessWidget {
itemBuilder: (BuildContext context) {
return <PopupMenuEntry<Function>>[
//
// Mute/Unmute
//
if (pub.muted == false)
PopupMenuItem(
child: const Text('Mute'),
value: () => pub.muted = true,
),
if (pub.muted == true)
PopupMenuItem(
child: const Text('Un-mute'),
value: () => pub.muted = false,
),
//
// Subscribe/Unsubscribe
//
if (pub.subscribed == false)