From 5824a97e1b15ab28a83fc664927f550934b8ef57 Mon Sep 17 00:00:00 2001 From: Nikolai Trukhin Date: Fri, 23 Sep 2022 00:18:56 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20image=20creation=20=F0=9F=98=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xcassets-swiftui.stencil | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcassets-swiftui.stencil b/xcassets-swiftui.stencil index 3993e67..cd012f4 100644 --- a/xcassets-swiftui.stencil +++ b/xcassets-swiftui.stencil @@ -93,7 +93,7 @@ import SwiftUI fileprivate let name: String {{accessModifier}} var image: Image { - Image(name) + Image(self) } } @@ -109,4 +109,4 @@ import SwiftUI private final class BundleToken {} {% else %} // No assets found -{% endif %} \ No newline at end of file +{% endif %}