From 1f6ca5536693c344491e52d433d591ddade6edd8 Mon Sep 17 00:00:00 2001 From: crockwave Date: Sun, 2 Aug 2020 14:07:13 -0500 Subject: [PATCH] Limit logo upload to either SVG or PNG --- app/soapbox/features/configuration/index.js | 3 ++- app/soapbox/features/forms/index.js | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/soapbox/features/configuration/index.js b/app/soapbox/features/configuration/index.js index c5218c8df..9916ea9de 100644 --- a/app/soapbox/features/configuration/index.js +++ b/app/soapbox/features/configuration/index.js @@ -11,6 +11,7 @@ import { TextInput, Checkbox, FileChooser, + FileChooserLogo, } from 'soapbox/features/forms'; import StillImage from 'soapbox/components/still_image'; import { @@ -261,7 +262,7 @@ class ConfigSoapbox extends ImmutablePureComponent { {this.state.logo ? () : ()}
- } name='logo' hint={