mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-03 01:16:14 +03:00
Take in Image for source icon instead of String.
This commit is contained in:
parent
94a3f1d8b5
commit
7b6b938770
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user