diff --git a/gpt4all-chat/qml/CollectionsDialog.qml b/gpt4all-chat/qml/CollectionsDialog.qml index 2374fa3d..c2ad7d20 100644 --- a/gpt4all-chat/qml/CollectionsDialog.qml +++ b/gpt4all-chat/qml/CollectionsDialog.qml @@ -121,7 +121,7 @@ MyDialog { } Label { id: speedLabel - color: theme.textColor + color: theme.progressText visible: model.indexing || model.currentEmbeddingsToIndex !== model.totalEmbeddingsToIndex anchors.verticalCenter: itemProgressBar.verticalCenter anchors.left: itemProgressBar.left diff --git a/gpt4all-chat/qml/Theme.qml b/gpt4all-chat/qml/Theme.qml index 042d4ad3..49f8343c 100644 --- a/gpt4all-chat/qml/Theme.qml +++ b/gpt4all-chat/qml/Theme.qml @@ -222,6 +222,17 @@ QtObject { } } + property color progressText: { + switch (MySettings.chatTheme) { + case "LegacyDark": + return "#ffffff"; + case "Dark": + return "#000000"; + default: + return "#000000"; + } + } + property color checkboxBorder: { switch (MySettings.chatTheme) { case "LegacyDark":