diff --git a/gui/components/Footer.qml b/gui/components/Footer.qml index a72953e42dfcd260fc2973f798adca4eaffd38f7..d534f96a9c8c1e148e05add0d8b954136543e60f 100644 --- a/gui/components/Footer.qml +++ b/gui/components/Footer.qml @@ -224,8 +224,10 @@ ToolBar { function isBridgeSelected() { if (ctx && ctx.transport == "obfs4") { return true; - } else { - return false; } + if (ctx && ctx.transport == "kcp") { + return true; + } + return false; } } diff --git a/gui/components/Locations.qml b/gui/components/Locations.qml index 1c887d5dc1ce7fd13d5dc4bc465f6f8fafedb5b6..2a1887384f60abbd185e0630131c28657ba46d7e 100644 --- a/gui/components/Locations.qml +++ b/gui/components/Locations.qml @@ -314,9 +314,11 @@ ThemedPage { function isBridgeSelected() { if (ctx && ctx.transport == "obfs4") { return true - } else { - return false } + if (ctx && ctx.transport == "kcp") { + return true + } + return false } function getManualAnchor() {