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 = {
"render_initialization": () => {
"app.render_initialization": () => {
this.setState({ renderInitialization: true })
},
"render_initialization_done": () => {
"app.render_initialization_done": () => {
this.setState({ renderInitialization: false })
},
"crash": (message, error) => {
"app.crash": (message, error) => {
this.setState({ crash: { message, error } })
},
"locationChange": (event) => {

View File

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