Fix dark theme.

How did that even break?
This commit is contained in:
Black Hat 2018-09-20 16:58:28 +08:00
parent 4541e3d1e0
commit 144660e5b5
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Text {
id: materialLabel id: materialLabel
color: MSettings.darkTheme ? "white" : "dark"
font.pointSize: 16 font.pointSize: 16
font.family: materialFont.name font.family: materialFont.name
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter

View File

@ -61,7 +61,7 @@ ApplicationWindow {
id: errorDialog id: errorDialog
title: error + " Error" title: error + " Error"
contentItem: Label { text: errorDialog.detail } contentItem: Label { text: errorDialog.detail }
} }
Component { Component {