summaryrefslogtreecommitdiff
path: root/gui/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/main.qml')
-rw-r--r--gui/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/main.qml b/gui/main.qml
index f6660df..2d75790 100644
--- a/gui/main.qml
+++ b/gui/main.qml
@@ -164,9 +164,9 @@ ApplicationWindow {
}
var providerFlavor = arr[arr.length-1]
console.debug("flavor: " + providerFlavor)
- if (providerFlavor.startsWith("riseup-vpn")) {
+ if (providerFlavor.startsWith("riseup-vpn") || providerFlavor == "RiseupVPN") {
return "themes/Riseup.qml"
- } else if (providerFlavor.startsWith("calyx-vpn")) {
+ } else if (providerFlavor.startsWith("calyx-vpn") || providerFlavor == "CalyxVPN") {
return "themes/Calyx.qml"
} else {
// we should do a Default theme, with a fallback