Skip to main content

DyteMoreMenuBottomSheet

A button which toggles visibility of a more menu.

var menus = [MenuType]()

if meeting.localUser.permissions.host.canMuteAudio {
menus.append(.muteAllAudio)
}

if meeting.localUser.permissions.host.canMuteVideo {
menus.append(.muteAllVideo)
}

self.bottomSheet = DyteMoreMenuBottomSheet(
menus: menus,
meeting: self.meeting,
presentingViewController: self.presentingViewController)
self.bottomSheet.show()