From 2e7320843e5ad7b2fd633ee000fd7f494ae9355c Mon Sep 17 00:00:00 2001 From: "i.mnazhdin" <> Date: Fri, 16 Feb 2024 19:52:24 +0600 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20ac?= =?UTF-8?q?cessModifier=20=D0=B4=D0=BB=D1=8F=20=D1=81=D0=B3=D0=B5=D0=BD?= =?UTF-8?q?=D0=B5=D1=80=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D1=85=20edition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Templates/ExternalEvent.stencil | 2 +- Templates/InternalEvent.stencil | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Templates/ExternalEvent.stencil b/Templates/ExternalEvent.stencil index 22f2507..99926dc 100644 --- a/Templates/ExternalEvent.stencil +++ b/Templates/ExternalEvent.stencil @@ -32,7 +32,7 @@ import Analytics } {% endif %} - var edition: [AnalyticsEventEdition] { + {{ accessModifier }} var edition: [AnalyticsEventEdition] { {% if edition %} {% map edition into enumValueEdition %}.{{ maploop.item }}{% endmap %} [{{ enumValueEdition|join:", " }}] diff --git a/Templates/InternalEvent.stencil b/Templates/InternalEvent.stencil index 127a93d..3883a99 100644 --- a/Templates/InternalEvent.stencil +++ b/Templates/InternalEvent.stencil @@ -23,7 +23,7 @@ import Analytics */ {{ accessModifier }} struct {{ structName }}: {{ protocol }} { - var edition: [AnalyticsEventEdition] { + {{ accessModifier }} var edition: [AnalyticsEventEdition] { {% if edition %} {% map edition into enumValueEdition %}.{{ maploop.item }}{% endmap %} [{{ enumValueEdition|join:", " }}]