sync: fixup icons

This commit is contained in:
tsuki 2024-03-17 12:39:19 +08:00
parent 2147041b46
commit a48707284f
2 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# Recommended: Specify your app ID *OR* your base resource path for more robust icon loading
app_id = "org.tsuki.radar_g"
base_resource_path = "/org/tsuki/radar_g"
#app_id = "org.tsuki.radar_g"
# List of icon names you found (shipped with this crate)
# Note: the file ending `-symbolic.svg` isn't part of the icon name.
icons = [
"plus",
"add-filled",
"delete-filled",
"chevron-up-filled",
@ -16,6 +16,3 @@ icons = [
"settings-filled",
"save-filled",
]
# Optional: Specify a folder containing your own SVG icons
icon_folder = "svg_icons"

View File

@ -22,6 +22,7 @@ mod pipeline;
mod plugin_system;
use components::app::AppModel;
use once_cell::{sync::Lazy as SafeLazy, unsync::Lazy as UnsafeLazy};
use surfman::declare_surfman;
use tracing::info;
use tracing_subscriber;
mod data_utils;
@ -30,6 +31,8 @@ mod map_tile_utils;
mod predefined;
mod widgets;
declare_surfman!();
const APP_ID: &str = "org.tsuki.radar_g";
static RUNTIME: SafeLazy<Runtime> =
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);
initialize_custom_css();
relm4_icons::initialize_icons();
initialize_custom_css();
info!("Init plugin system");
let pluginmanager = PluginManager::new();
relm.run::<AppModel>(());