From 7b6b9387705910b483977ff3cda4cb8c382a41e7 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Wed, 21 Aug 2019 08:21:15 -0700 Subject: [PATCH] Take in Image for source icon instead of String. --- generator/src/elm-file-constants.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generator/src/elm-file-constants.js b/generator/src/elm-file-constants.js index 881c6e48..6947b71e 100644 --- a/generator/src/elm-file-constants.js +++ b/generator/src/elm-file-constants.js @@ -69,7 +69,7 @@ application : , themeColor : Maybe Color , startUrl : PageRoute , shortName : Maybe String - , sourceIcon : String + , sourceIcon : Image } } -> Pages.Program userModel userMsg metadata view @@ -96,7 +96,7 @@ application config = , themeColor = config.manifest.themeColor , startUrl = Just (routeToString config.manifest.startUrl) , shortName = config.manifest.shortName - , sourceIcon = config.manifest.sourceIcon + , sourceIcon = "./" ++ imageUrl config.manifest.sourceIcon } } ${staticRouteStuff(staticRoutes)} @@ -144,7 +144,7 @@ application : , themeColor : Maybe Color , startUrl : PageRoute , shortName : Maybe String - , sourceIcon : String + , sourceIcon : Image } } -> Pages.Program userModel userMsg metadata view @@ -171,7 +171,7 @@ application config = , themeColor = config.manifest.themeColor , startUrl = Just (routeToString config.manifest.startUrl) , shortName = config.manifest.shortName - , sourceIcon = config.manifest.sourceIcon + , sourceIcon = "./" ++ imageUrl config.manifest.sourceIcon } }