From 867277716c70586fd0187c96c3202d2c32487968 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 24 Aug 2019 11:33:39 -0500 Subject: [PATCH] fix subscribe button title prefixes --- .../src/shared/buttons/subscribe/SubscribeButton.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FilterLists.Web.V2/src/shared/buttons/subscribe/SubscribeButton.tsx b/src/FilterLists.Web.V2/src/shared/buttons/subscribe/SubscribeButton.tsx index 62f092bbd..a7f9a8594 100644 --- a/src/FilterLists.Web.V2/src/shared/buttons/subscribe/SubscribeButton.tsx +++ b/src/FilterLists.Web.V2/src/shared/buttons/subscribe/SubscribeButton.tsx @@ -58,11 +58,11 @@ const buildButtonProps = (name: string, viewUrl: string): ButtonProps => { // HTTP protocols if (viewUrl.includes(".onion/")) { type = "dashed"; - prefixes.push("Tor"); + prefixes.push("TOR"); } if (viewUrl.includes("http://")) { type = "danger"; - prefixes.push("Insecure"); + prefixes.push("INSECURE"); } // Software protocols @@ -75,7 +75,7 @@ const buildButtonProps = (name: string, viewUrl: string): ButtonProps => { message = `Subscribe to ${name} with Little Snitch's rule group subscription feature.`; } - const title = `${prefixes.length ? prefixes.join(" | ") : ""}${message}`; + const title = `${prefixes.length ? prefixes.join(" | ") + " | " : ""}${message}`; return { type, href, title } }