1
0
mirror of https://github.com/Tim-Paik/neutauri.git synced 2024-10-12 23:29:41 +00:00

Rename window_icon to icon

This commit is contained in:
2022-05-01 16:55:49 +08:00
parent f3e9f6e936
commit 084fe40035
3 changed files with 7 additions and 7 deletions

View File

@ -51,7 +51,7 @@ pub fn dev(config_path: String) -> wry::Result<()> {
true => window_builder.with_fullscreen(Some(Fullscreen::Borderless(None))),
false => window_builder,
};
let window_builder = match config.window_attr()?.window_icon {
let window_builder = match config.window_attr()?.icon {
Some(ref icon) => window_builder.with_window_icon(Some(Icon::from_rgba(
icon.rgba.clone(),
icon.width,