mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
fix style apply for live
This commit is contained in:
parent
6bdf9161b5
commit
8425a7b906
@ -58,9 +58,9 @@ export default class StreamViewer extends React.Component {
|
|||||||
await this.loadWithProtocol[this.state.loadedProtocol]()
|
await this.loadWithProtocol[this.state.loadedProtocol]()
|
||||||
|
|
||||||
// make the interface a bit confortable for a video player
|
// make the interface a bit confortable for a video player
|
||||||
//app.style.applyVariant("dark")
|
app.style.applyVariant("dark")
|
||||||
|
|
||||||
app.eventBus.emit("toogleCompactMode", true)
|
app.eventBus.emit("style.compactMode", true)
|
||||||
|
|
||||||
app.SidebarController.toggleVisibility(false)
|
app.SidebarController.toggleVisibility(false)
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ export default class StreamViewer extends React.Component {
|
|||||||
componentWillUnmount = () => {
|
componentWillUnmount = () => {
|
||||||
app.style.applyVariant(app.settings.get("themeVariant"))
|
app.style.applyVariant(app.settings.get("themeVariant"))
|
||||||
|
|
||||||
app.eventBus.emit("toogleCompactMode", false)
|
app.eventBus.emit("style.compactMode", false)
|
||||||
|
|
||||||
app.SidebarController.toggleVisibility(true)
|
app.SidebarController.toggleVisibility(true)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user