sync: fixup icons
This commit is contained in:
parent
2147041b46
commit
a48707284f
@ -1,10 +1,10 @@
|
|||||||
# Recommended: Specify your app ID *OR* your base resource path for more robust icon loading
|
# Recommended: Specify your app ID *OR* your base resource path for more robust icon loading
|
||||||
app_id = "org.tsuki.radar_g"
|
#app_id = "org.tsuki.radar_g"
|
||||||
base_resource_path = "/org/tsuki/radar_g"
|
|
||||||
|
|
||||||
# List of icon names you found (shipped with this crate)
|
# List of icon names you found (shipped with this crate)
|
||||||
# Note: the file ending `-symbolic.svg` isn't part of the icon name.
|
# Note: the file ending `-symbolic.svg` isn't part of the icon name.
|
||||||
icons = [
|
icons = [
|
||||||
|
"plus",
|
||||||
"add-filled",
|
"add-filled",
|
||||||
"delete-filled",
|
"delete-filled",
|
||||||
"chevron-up-filled",
|
"chevron-up-filled",
|
||||||
@ -16,6 +16,3 @@ icons = [
|
|||||||
"settings-filled",
|
"settings-filled",
|
||||||
"save-filled",
|
"save-filled",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Optional: Specify a folder containing your own SVG icons
|
|
||||||
icon_folder = "svg_icons"
|
|
||||||
|
|||||||
@ -22,6 +22,7 @@ mod pipeline;
|
|||||||
mod plugin_system;
|
mod plugin_system;
|
||||||
use components::app::AppModel;
|
use components::app::AppModel;
|
||||||
use once_cell::{sync::Lazy as SafeLazy, unsync::Lazy as UnsafeLazy};
|
use once_cell::{sync::Lazy as SafeLazy, unsync::Lazy as UnsafeLazy};
|
||||||
|
use surfman::declare_surfman;
|
||||||
use tracing::info;
|
use tracing::info;
|
||||||
use tracing_subscriber;
|
use tracing_subscriber;
|
||||||
mod data_utils;
|
mod data_utils;
|
||||||
@ -30,6 +31,8 @@ mod map_tile_utils;
|
|||||||
mod predefined;
|
mod predefined;
|
||||||
mod widgets;
|
mod widgets;
|
||||||
|
|
||||||
|
declare_surfman!();
|
||||||
|
|
||||||
const APP_ID: &str = "org.tsuki.radar_g";
|
const APP_ID: &str = "org.tsuki.radar_g";
|
||||||
static RUNTIME: SafeLazy<Runtime> =
|
static RUNTIME: SafeLazy<Runtime> =
|
||||||
SafeLazy::new(|| Runtime::new().expect("Setting up tokio runtime needs to succeed."));
|
SafeLazy::new(|| Runtime::new().expect("Setting up tokio runtime needs to succeed."));
|
||||||
@ -60,8 +63,8 @@ fn main() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
let relm = relm4::RelmApp::new(APP_ID);
|
let relm = relm4::RelmApp::new(APP_ID);
|
||||||
initialize_custom_css();
|
|
||||||
relm4_icons::initialize_icons();
|
relm4_icons::initialize_icons();
|
||||||
|
initialize_custom_css();
|
||||||
info!("Init plugin system");
|
info!("Init plugin system");
|
||||||
let pluginmanager = PluginManager::new();
|
let pluginmanager = PluginManager::new();
|
||||||
relm.run::<AppModel>(());
|
relm.run::<AppModel>(());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user