Compare commits
1 Commits
c59a7c89d2
...
30fdeae3b2
| Author | SHA1 | Date | |
|---|---|---|---|
|
30fdeae3b2
|
@@ -7,9 +7,11 @@ use dioxus_i18n::prelude::*;
|
|||||||
use dioxus_i18n::unic_langid::langid;
|
use dioxus_i18n::unic_langid::langid;
|
||||||
|
|
||||||
const FAVICON: Asset = asset!("/assets/favicon.ico");
|
const FAVICON: Asset = asset!("/assets/favicon.ico");
|
||||||
|
/* Once https://github.com/DioxusLabs/dioxus/issues/4490 is resolved, hopefully it will be
|
||||||
|
sufficient to just include the single icon.png. */
|
||||||
#[used]
|
#[used]
|
||||||
static ICON: Asset = asset!(
|
static IMAGES_DIRECTORY: Asset = asset!(
|
||||||
"/assets/images/icon.png",
|
"/assets/images",
|
||||||
AssetOptions::builder().with_hash_suffix(false)
|
AssetOptions::builder().with_hash_suffix(false)
|
||||||
);
|
);
|
||||||
#[used]
|
#[used]
|
||||||
|
|||||||
Reference in New Issue
Block a user