Skip to content

Commit 8201c01

Browse files
committed
fix bug in demo for role switching
1 parent a9e1800 commit 8201c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/API-Example/multi-channel-sample/Scripts/AgoraChannelPanelNew.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void Start()
151151
ButtonCollection.Add(ScreenShareButton);
152152
}
153153

154-
SetupEngineRoleButton(isHost: !AudienceMode);
154+
SetupRoleButton(isHost: !AudienceMode);
155155

156156
SetButtonsState(false, false, false, false);
157157
if (UseToken)

0 commit comments

Comments
 (0)