From 519c2b14c4665e491359a9a937969acc70e649f4 Mon Sep 17 00:00:00 2001 From: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com> Date: Mon, 25 Sep 2023 21:07:35 +0200 Subject: [PATCH] ci: bump version --- Cargo.toml | 3 ++- src/app.rs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6670a7f..b6f4211 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "dex_protect_osc_rs" -version = "0.1.1" +version = "0.1.2" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/app.rs b/src/app.rs index 149f451..e3bf5c6 100644 --- a/src/app.rs +++ b/src/app.rs @@ -412,7 +412,7 @@ fn get_id() -> u64 { fn popup_creator<'a>( title: impl Into + 'a, - add_content: impl Fn(&mut App, &mut egui::Ui) + 'a, + add_content: impl FnMut(&mut App, &mut egui::Ui) + 'a, ) -> Box> { popup_creator_collapsible(title, false, add_content) } @@ -420,7 +420,7 @@ fn popup_creator<'a>( fn popup_creator_collapsible<'a>( title: impl Into + 'a, collapsible: bool, - add_content: impl Fn(&mut App, &mut egui::Ui) + 'a, + mut add_content: impl FnMut(&mut App, &mut egui::Ui) + 'a, ) -> Box> { let title = title.into(); let id = get_id();