From 0fcf16dcb858cdd464fbd614aaba54fb81264199 Mon Sep 17 00:00:00 2001
From: Mark Felder <feld@feld.me>
Date: Sat, 6 Feb 2021 12:34:32 -0600
Subject: [PATCH] Move Enabled to top as it's the master control of all email.
 Description not really needed.

---
 config/description.exs | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/config/description.exs b/config/description.exs
index 54b5fd5d6..8d3312caa 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -214,6 +214,10 @@ config :pleroma, :config_description, [
     type: :group,
     description: "Mailer-related settings",
     children: [
+      %{
+        key: :enabled,
+        type: :boolean,
+      },
       %{
         key: :adapter,
         type: :module,
@@ -234,11 +238,6 @@ config :pleroma, :config_description, [
           Swoosh.Adapters.Gmail
         ]
       },
-      %{
-        key: :enabled,
-        type: :boolean,
-        description: "Pleroma Email sending capability"
-      },
       %{
         group: {:subgroup, Swoosh.Adapters.SMTP},
         key: :relay,