Fix navigation top bar style (#2885)

This commit is contained in:
Miguel Alatzar 2019-06-14 07:06:14 -07:00 committed by Harrison Healey
parent cbe0c719ac
commit 2e423a9f64
3 changed files with 10 additions and 6 deletions

View file

@ -16,6 +16,9 @@ export function resetToChannel() {
component: {
name: 'Channel',
options: {
statusBar: {
visible: true,
},
topBar: {
backButton: {
color: theme.sidebarHeaderTextColor,
@ -24,13 +27,11 @@ export function resetToChannel() {
background: {
color: theme.sidebarHeaderBg,
},
statusBar: {
visible: true,
},
title: {
color: theme.sidebarHeaderTextColor,
},
visible: false,
height: 0,
},
},
},
@ -55,6 +56,9 @@ export function resetToSelectServer(allowOtherServers) {
allowOtherServers,
},
options: {
statusBar: {
visible: true,
},
topBar: {
backButton: {
color: theme.sidebarHeaderTextColor,
@ -63,10 +67,8 @@ export function resetToSelectServer(allowOtherServers) {
background: {
color: theme.sidebarHeaderBg,
},
statusBar: {
visible: true,
},
visible: false,
height: 0,
},
},
},

View file

@ -465,6 +465,7 @@ const launchEntry = () => {
},
topBar: {
visible: false,
height: 0,
},
},
},

View file

@ -178,6 +178,7 @@ export default class SelectServer extends PureComponent {
text: title,
},
visible: !LocalConfig.AutoSelectServerUrl,
height: LocalConfig.AutoSelectServerUrl ? 0 : null,
},
},
},