use SidedrawerController

This commit is contained in:
srgooglo 2022-06-01 03:16:29 +02:00
parent 7dbeeba2a7
commit f0de3fa1cf

View File

@ -214,13 +214,13 @@ class App extends React.Component {
static publicMethods = {
openSettings: (goTo) => {
window.app.DrawerController.open("settings", Settings, {
window.app.SidedrawerController.open("Settings", Settings, {
props: {
width: "fit-content",
},
componentProps: {
goTo,
}
},
allowMultiples: false,
escClosable: true,
})
},
openNavigationMenu: () => window.app.DrawerController.open("navigation", Navigation),