DEV: Register Font Awesome SVG icons.

DEV: Register Font Awesome SVG icons.

From 919d28fc69718a5dd235d607b9e597e4dabf11ca Mon Sep 17 00:00:00 2001
From: Dan Ungureanu <dan@ungureanu.me>
Date: Fri, 30 Nov 2018 00:23:30 +0200
Subject: [PATCH] DEV: Register Font Awesome SVG icons.


diff --git a/plugin.rb b/plugin.rb
index 1b57cec..3881c96 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -8,6 +8,7 @@ enabled_site_setting :encrypt_enabled
 
 # Register custom stylesheet for `encrypted-checkbox` component.
 register_asset "stylesheets/common/encrypt.scss"
+[ "exchange", "lock", "times", "unlock" ].each { |i| register_svg_icon i }
 
 # Register custom user fields to store user's key pair (public and private key).
 DiscoursePluginRegistry.serialized_current_user_fields << "encrypt_public_key"

GitHub