Closed reyamir closed 7 months ago
Here are some questions:
saved_theme_value
should accept a file path
, you are currently passing a directory
.Since tauri v2 changed the api, I recommend modifying these fn
- pub(crate) fn saved_theme_value(path: &PathBuf) -> Theme
+ pub(crate) fn saved_theme_value<R: Runtime>(app: AppHandle<R>) -> Theme
- pub(crate) fn save_theme_value(path: &PathBuf, theme: Theme)
+ pub(crate) fn save_theme_value<R: Runtime>(app: AppHandle<R>, theme: Theme)
It will be simpler. Just some suggestions
Thanks, but there are still some problems, I will fix it in another commit
oh thank you, I'm still struggling at it 😅
New version (0.3.0) released to crates.io
Changes:
gtk
to0.18
I'm not sure my solution is best, but it's working in my app