From d2b99f200be254e2a00dbc9e9f6682663b13054d Mon Sep 17 00:00:00 2001 From: Jiiks Date: Sun, 12 Aug 2018 15:58:00 +0300 Subject: [PATCH] add image plus material icon --- client/src/builtin/E2EEComponent.vue | 6 ++--- .../src/ui/components/common/MaterialIcon.js | 1 + .../common/materialicons/ImagePlus.vue | 27 +++++++++++++++++++ 3 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 client/src/ui/components/common/materialicons/ImagePlus.vue diff --git a/client/src/builtin/E2EEComponent.vue b/client/src/builtin/E2EEComponent.vue index b4cd2846..87c709be 100644 --- a/client/src/builtin/E2EEComponent.vue +++ b/client/src/builtin/E2EEComponent.vue @@ -27,7 +27,7 @@
@@ -42,11 +42,11 @@ import { remote } from 'electron'; import { E2EE } from 'builtin'; import { DiscordApi, Security } from 'modules'; - import { MiLock, MiPlus } from '../ui/components/common/MaterialIcon'; + import { MiLock, MiPlus, MiImagePlus } from '../ui/components/common/MaterialIcon'; import { Toasts } from 'ui'; export default { - components: { MiLock, MiPlus }, + components: { MiLock, MiPlus, MiImagePlus }, data() { return { E2EE, diff --git a/client/src/ui/components/common/MaterialIcon.js b/client/src/ui/components/common/MaterialIcon.js index 9840b262..f5d4b6b3 100644 --- a/client/src/ui/components/common/MaterialIcon.js +++ b/client/src/ui/components/common/MaterialIcon.js @@ -19,3 +19,4 @@ export { default as MiWarning } from './materialicons/Warning.vue'; export { default as MiSuccess } from './materialicons/Success.vue'; export { default as AccountCircle } from './materialicons/AccountCircle.vue'; export { default as MiLock } from './materialicons/Lock.vue'; +export { default as MiImagePlus } from './materialicons/ImagePlus.vue'; diff --git a/client/src/ui/components/common/materialicons/ImagePlus.vue b/client/src/ui/components/common/materialicons/ImagePlus.vue new file mode 100644 index 00000000..05f7640b --- /dev/null +++ b/client/src/ui/components/common/materialicons/ImagePlus.vue @@ -0,0 +1,27 @@ +/** + * BetterDiscord Image Plus Icon + * Copyright (c) 2015-present Jiiks/JsSucks - https://github.com/Jiiks / https://github.com/JsSucks + * All rights reserved. + * https://betterdiscord.net + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * Material Design Icons + * Copyright (c) 2014 Google + * Apache 2.0 LICENSE + * https://www.apache.org/licenses/LICENSE-2.0.txt +*/ + + +