fix: stop auto-opening release notes on startup

This commit is contained in:
Ogulcan Celik
2026-05-20 00:34:04 +03:00
parent fb93e37475
commit ff8e5a14ab
9 changed files with 130 additions and 58 deletions
+1 -3
View File
@@ -2188,7 +2188,6 @@ pub fn run_server() -> io::Result<()> {
&loaded_config.config,
no_session,
config::config_diagnostic_summary(&loaded_config.diagnostics),
crate::release_notes::load_pending_for_current_version(),
api_rx,
event_hub,
);
@@ -2242,8 +2241,7 @@ mod tests {
fn test_headless_server() -> HeadlessServer {
let config = crate::config::Config::default();
let (_api_tx, api_rx) = tokio::sync::mpsc::unbounded_channel();
let mut app =
crate::app::App::new(&config, true, None, None, api_rx, api::EventHub::default());
let mut app = crate::app::App::new(&config, true, None, api_rx, api::EventHub::default());
app.state.local_sound_playback = false;
app.local_terminal_notifications = false;