File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -140,19 +140,6 @@ class RemoteTrackPublicationMenuWidget extends StatelessWidget {
140140 itemBuilder: (BuildContext context) {
141141 return < PopupMenuEntry <Function >> [
142142 //
143- // Mute/Unmute
144- //
145- if (pub.muted == false )
146- PopupMenuItem (
147- child: const Text ('Mute' ),
148- value: () => pub.muted = true ,
149- ),
150- if (pub.muted == true )
151- PopupMenuItem (
152- child: const Text ('Un-mute' ),
153- value: () => pub.muted = false ,
154- ),
155- //
156143 // Subscribe/Unsubscribe
157144 //
158145 if (pub.subscribed == false )
Original file line number Diff line number Diff line change 11import 'package:livekit_client/src/logger.dart' ;
2+ import 'package:meta/meta.dart' ;
23
34import '../events.dart' ;
45import '../extensions.dart' ;
@@ -51,6 +52,7 @@ class RemoteTrackPublication extends TrackPublication {
5152 /// for internal use
5253 /// {@nodoc}
5354 @override
55+ @internal
5456 set muted (bool val) {
5557 if (val == muted) {
5658 return ;
You can’t perform that action at this time.
0 commit comments