From ca6048f667f024d71dec5e42777d3b456b26b7d5 Mon Sep 17 00:00:00 2001
From: ArchiveBase <46082456+ArchiveBase@users.noreply.github.com>
Date: Tue, 5 Nov 2019 20:00:15 +0700
Subject: [PATCH 1/2] + blocked_services: add origin
---
home/blocked_services.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/home/blocked_services.go b/home/blocked_services.go
index 26134489..b9b5ca05 100644
--- a/home/blocked_services.go
+++ b/home/blocked_services.go
@@ -33,6 +33,7 @@ var serviceRulesArray = []svc{
{"ok", []string{"||ok.ru^"}},
{"skype", []string{"||skype.com^"}},
{"vk", []string{"||vk.com^"}},
+ {"origin", []string{"||origin.com^", "||signin.ea.com^", "||accounts.ea.com^"}},
{"steam", []string{"||steam.com^"}},
{"epic_games", []string{"||epicgames.com^"}},
{"reddit", []string{"||reddit.com^", "||redditstatic.com^", "||redditmedia.com^", "||redd.it^"}},
From 79ea15dce11e96720259cf78db74752fb0cd39d0 Mon Sep 17 00:00:00 2001
From: ArchiveBase <46082456+ArchiveBase@users.noreply.github.com>
Date: Tue, 5 Nov 2019 20:03:28 +0700
Subject: [PATCH 2/2] + client: add origin icon
---
client/src/components/ui/Icons.js | 4 ++++
client/src/helpers/constants.js | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/client/src/components/ui/Icons.js b/client/src/components/ui/Icons.js
index 98252357..978738e7 100644
--- a/client/src/components/ui/Icons.js
+++ b/client/src/components/ui/Icons.js
@@ -120,6 +120,10 @@ const Icons = () => (
+
+
+
+
diff --git a/client/src/helpers/constants.js b/client/src/helpers/constants.js
index 09e6ddc2..921f6966 100644
--- a/client/src/helpers/constants.js
+++ b/client/src/helpers/constants.js
@@ -285,6 +285,10 @@ export const SERVICES = [
id: 'ebay',
name: 'eBay',
},
+ {
+ id: 'origin',
+ name: 'Origin',
+ },
{
id: 'steam',
name: 'Steam',