fix events

This commit is contained in:
srgooglo 2022-05-30 16:50:18 +02:00
parent 30aadbd5d6
commit 54c08e99a1
2 changed files with 6 additions and 6 deletions

View File

@ -31,13 +31,13 @@ export class RouteRender extends EvitePureComponent {
} }
handleBusEvents = { handleBusEvents = {
"render_initialization": () => { "app.render_initialization": () => {
this.setState({ renderInitialization: true }) this.setState({ renderInitialization: true })
}, },
"render_initialization_done": () => { "app.render_initialization_done": () => {
this.setState({ renderInitialization: false }) this.setState({ renderInitialization: false })
}, },
"crash": (message, error) => { "app.crash": (message, error) => {
this.setState({ crash: { message, error } }) this.setState({ crash: { message, error } })
}, },
"locationChange": (event) => { "locationChange": (event) => {

View File

@ -18,15 +18,15 @@ export default class BottomBar extends EviteComponent {
} }
handleBusEvents = { handleBusEvents = {
"render_initialization": () => { "app.render_initialization": () => {
this.toogle(false) this.toogle(false)
}, },
"render_initialization_done": () => { "app.render_initialization_done": () => {
if (this.isAllowed()) { if (this.isAllowed()) {
this.toogle(true) this.toogle(true)
} }
}, },
"crash": () => { "app.crash": () => {
this.toogle(false) this.toogle(false)
}, },
"locationChange": () => { "locationChange": () => {