on xenial help sign in
fix the indicator visibility check
bd7cff3Lukáš Tinkl
qml/Panel/Panel.qml+1−1
@@ -340,7 +340,7 @@ Item {
340 // HACK for indicator-session
340 // HACK for indicator-session
341 readonly property bool hideSessionIndicator: identifier == "indicator-session" && Math.min(Screen.width, Screen.height) <= units.gu(60)
341 readonly property bool hideSessionIndicator: identifier == "indicator-session" && Math.min(Screen.width, Screen.height) <= units.gu(60)
342 // HACK for indicator-keyboard
342 // HACK for indicator-keyboard
343− readonly property bool hideKeyboardIndicator: identifier == "indicator-keyboard" && (AccountsService.keymaps.length < 2 || !hasKeyboard)
343+ readonly property bool hideKeyboardIndicator: identifier == "indicator-keyboard" && AccountsService.keymaps.length < 2 && !hasKeyboard
344
344
345 height: parent.height
345 height: parent.height
346 expanded: indicators.expanded
346 expanded: indicators.expanded