(app: &mut App)
| 110 | |
| 111 | #[tracing::instrument(level = "debug", skip(app))] |
| 112 | pub fn get_preference_state(app: &mut App) -> Result<PreferenceConfig> { |
| 113 | let data_dir = app.path().app_config_dir()?; |
| 114 | PreferenceConfig::new(data_dir) |
| 115 | } |
| 116 | |
| 117 | #[tracing::instrument(level = "debug", skip(app))] |
| 118 | pub fn initial(app: &mut App) { |